Improving debug locations for variables in memory
LLVM generates suboptimal debug variable locations for variables in memory in optimised code. 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.
READ THE WHOLE POST