Back To Schedule
Friday, November 4 • 10:00am - 10:45am
Where are my variables? Debug info for optimized code

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

While the quality of debug info at -O0 has reached a satisfactory level, debugging code that was optimized by LLVM still poses a challenge, primarily because variable locations may get dropped at any time in the compilation. 

We will start by presenting statistics aimed at identifying the worst offenders among the compilation stages and highlight known problems including debug value location tracking in the backend, the register allocator, optimizing transformations, and shortcomings of LLVM IR, before opening the floor to a discussion on strategies for improving the quality of debug info for optimized code.

avatar for Adrian Prantl

Adrian Prantl

Ask me about debug information in LLVM, Clang and Swift!

Friday November 4, 2016 10:00am - 10:45am PDT
3 - BoF (Rm LL21CD)