SN Systems Tech Blog

Filter:

    What would it take to remove debug intrinsics?

    ARTICLE BY: Jeremy Morse
    POSTED: Sep 01, 2023
    TAGS: LLVM Developers Meeting, Toolchain

    It is a truth universally acknowledged that representing LLVMs debug-info with intrinsics is a poor design, slowing compile-time performance and creating new categories of bugs. However, removing them is not easy as our APIs lack a way of describing instruction positions from outside of the instruction list. In this talk I'll illustrate what's bad about the current design and explore the design space of possible solutions.

    READ THE WHOLE POST 

    Improving debug variable location coverage by using even more SSA

    ARTICLE BY: Jeremy Morse
    POSTED: Jan 05, 2022
    TAGS: LLVM Developers Meeting, Toolchain

    In this talk, Jeremy explains how LLVM has been tracking variable locations to date and its limitations, how a proposed new technique for tracking variable locations works, and how this can become a pair of SSA (Single Static Assignment) problems to solve at the end of compilation.

    READ THE WHOLE POST