From c1110838d34c813e2898a41f3e4fb4d284be812f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 3 Jul 2013 01:22:29 +0000 Subject: Add a helpful comment. llvm-svn: 185492 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index cc5997d018f..24e04f49caf 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -456,6 +456,8 @@ DIE *DwarfDebug::constructLexicalScopeDIE(CompileUnit *TheCU, 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; -- cgit v1.2.3