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:
e198626
)
Comment change made in r169304 as requested by Eric Christopher.
author
David Blaikie
<dblaikie@gmail.com>
Tue, 4 Dec 2012 22:02:33 +0000
(22:02 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Tue, 4 Dec 2012 22:02:33 +0000
(22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169315
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 3276575842908c0c9fd1838106f032f249d3dfcd..945fba8dca8e1b533c286f586daf3918ac836ebb 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-1511,6
+1511,8
@@
void DwarfDebug::beginFunction(const MachineFunction *MF) {
MF->getFunction()->getContext());
recordSourceLine(FnStartDL.getLine(), FnStartDL.getCol(),
FnStartDL.getScope(MF->getFunction()->getContext()),
+ // We'd like to list the prologue as "not statements" but GDB behaves
+ // poorly if we do that. Revisit this with caution/GDB (7.5+) testing.
DWARF2_FLAG_IS_STMT);
}
}