projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b005e96
)
Add explanatory comment.
author
Eric Christopher
<echristo@gmail.com>
Tue, 18 Mar 2014 02:18:27 +0000
(
02:18
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Tue, 18 Mar 2014 02:18:27 +0000
(
02:18
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204103
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index a69bf2697df2b72c0018c0d733c49aaa14ae4dc3..03906f0110b71adc8ef230e02ab8e67cffd75937 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
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;
}