Date & Time
Friday, November 19, 2021, 10:00 AM - 10:30 AM
Name
Improving debug variable location coverage by using even more SSA
Description

Debug-info variable locations in LLVM are frequently missing or have poor coverage. Sometimes this is due to variables being optimised out, but more often due to poor variable tracking. In this talk I'll explain how LLVM has been tracking variable locations to date and its limitations, how my proposed new technique for tracking variables works, and how it ultimately becomes a pair of SSA problems to solve at the end of compilation. Finally, we'll examine some variable location coverage improvements delivered by this technique, and consider some future directions that variable location tracking might take.

Session Type
Technical Talk