summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-03 01:22:29 +0000
committerEric Christopher <echristo@gmail.com>2013-07-03 01:22:29 +0000
commitc1110838d34c813e2898a41f3e4fb4d284be812f (patch)
tree11c4b0aba21f081bcc7660559f4eb03dbfef1dab /llvm/lib
parenta1e159a28135342da4396ea54f0d6fc63376f84b (diff)
downloadbcm5719-llvm-c1110838d34c813e2898a41f3e4fb4d284be812f.tar.gz
bcm5719-llvm-c1110838d34c813e2898a41f3e4fb4d284be812f.zip
Add a helpful comment.
llvm-svn: 185492
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 2 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud