Session Type
Quick Talks
Date & Time
Wednesday, May 11, 2022, 12:25 PM - 12:35 PM
Name
Improving debug locations for variables in memory
Abstract/s
LLVM generates suboptimal debug variable locations for variables in memory in optimised code. Due to a lack of information in the compiler, it uses a heuristic to decide whether to issue locations with low availability or locations that may be incorrect. We’ve been prototyping a new debug intrinsic which enables LLVM to make smarter decisions for these variables by connecting stores and source assignment markers. In this talk I will briefly outline the problem with the existing system, how the new system works - including how existing passes are affected - and discuss the accuracy and coverage improvements we've found so far.
Location Name
Ballroom 1