summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-18 02:18:27 +0000
committerEric Christopher <echristo@gmail.com>2014-03-18 02:18:27 +0000
commit089793b39ea8fd6be22eaf0e5fe706d9f7e58c48 (patch)
tree305a56081e5e64d85202c7355e5d83915e720501
parent05135fb4687c088d9525d44706c41a1d29eb45d1 (diff)
downloadbcm5719-llvm-089793b39ea8fd6be22eaf0e5fe706d9f7e58c48.tar.gz
bcm5719-llvm-089793b39ea8fd6be22eaf0e5fe706d9f7e58c48.zip
Add explanatory comment.
llvm-svn: 204103
-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 a69bf2697df..03906f0110b 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1416,6 +1416,8 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) {
// then we're not going to be able to do anything.
LScopes.initialize(*MF);
if (LScopes.empty()) {
+ // If we don't have a lexical scope for this function then there will
+ // be a hole in the range information. Keep note of this.
UsedNonDefaultText = true;
return;
}
OpenPOWER on IntegriCloud