[LLVMdev] Debug info for variables when optimizing

Chris Lattner clattner at apple.com
Thu Sep 24 18:00:45 PDT 2009


Hi All,

Right now, mem2reg and SRoA strip all debug information off allocas  
they promote.  This means that we lose almost all debug information  
for local variables when the optimizer is turned on.  Here is a  
proposal to improve the situation:
http://nondot.org/sabre/LLVMNotes/DebugInfoVariableInfo.txt

Thoughts welcome,

-Chris




More information about the llvm-dev mailing list