[llvm-commits] [llvm] r83571 - /llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp

Devang Patel dpatel at apple.com
Thu Oct 8 13:41:18 PDT 2009


Author: dpatel
Date: Thu Oct  8 15:41:17 2009
New Revision: 83571

URL: http://llvm.org/viewvc/llvm-project?rev=83571&view=rev
Log:
Clear variable debug info map at the end of the function.

Modified:
    llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp

Modified: llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp?rev=83571&r1=83570&r2=83571&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp Thu Oct  8 15:41:17 2009
@@ -76,6 +76,9 @@
   FilterEnds.clear();
   CallsEHReturn = 0;
   CallsUnwindInit = 0;
+#ifdef ATTACH_DEBUG_INFO_TO_AN_INSN
+  VariableDbgInfo.clear();
+#endif
 }
 
 /// AnalyzeModule - Scan the module for global debug information.





More information about the llvm-commits mailing list