[llvm] r185492 - Add a helpful comment.
Eric Christopher
echristo at gmail.com
Tue Jul 2 18:22:29 PDT 2013
Author: echristo
Date: Tue Jul 2 20:22:29 2013
New Revision: 185492
URL: http://llvm.org/viewvc/llvm-project?rev=185492&view=rev
Log:
Add a helpful comment.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=185492&r1=185491&r2=185492&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Jul 2 20:22:29 2013
@@ -456,6 +456,8 @@ DIE *DwarfDebug::constructLexicalScopeDI
DebugRangeSymbols.push_back(getLabelBeforeInsn(RI->first));
DebugRangeSymbols.push_back(getLabelAfterInsn(RI->second));
}
+
+ // Terminate the range list.
DebugRangeSymbols.push_back(NULL);
DebugRangeSymbols.push_back(NULL);
return ScopeDIE;
More information about the llvm-commits
mailing list