summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-12-04 22:02:33 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-12-04 22:02:33 +0000
commit67cb31ebdd665980d101d5219c6804ecde2ae503 (patch)
tree7a65f474665f62828bb20275c66d58e716febb9c /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent4da904c8f8e1bf7abbe3f530c05a462981526718 (diff)
downloadbcm5719-llvm-67cb31ebdd665980d101d5219c6804ecde2ae503.tar.gz
bcm5719-llvm-67cb31ebdd665980d101d5219c6804ecde2ae503.zip
Comment change made in r169304 as requested by Eric Christopher.
llvm-svn: 169315
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-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 32765758429..945fba8dca8 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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);
}
}
OpenPOWER on IntegriCloud