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