From da965defb86fdc9430d40c291e770a6219698de6 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 3 Jul 2013 01:22:29 +0000 Subject: [PATCH] Add a helpful comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185492 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index cc5997d018f..24e04f49caf 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/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; -- 2.34.1