summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-07-12 23:30:25 +0000
committerEric Christopher <echristo@apple.com>2012-07-12 23:30:25 +0000
commitbf57091f8b81406835189f59bea511a412f2b7c8 (patch)
tree6c848b158ab7fa66e8f0752507f8991fdc685f35 /llvm/lib/CodeGen/AsmPrinter
parent9aa15a45621f6da247bcdc91819ebf760b4f30b7 (diff)
downloadbcm5719-llvm-bf57091f8b81406835189f59bea511a412f2b7c8.tar.gz
bcm5719-llvm-bf57091f8b81406835189f59bea511a412f2b7c8.zip
The end of the prologue should be marked with is_stmt.
Fixes PR13303. Patch by Paul Robinson! llvm-svn: 160148
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 038792b426a..649684adbf0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1382,7 +1382,7 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) {
MF->getFunction()->getContext());
recordSourceLine(FnStartDL.getLine(), FnStartDL.getCol(),
FnStartDL.getScope(MF->getFunction()->getContext()),
- 0);
+ DWARF2_LINE_DEFAULT_IS_STMT ? DWARF2_FLAG_IS_STMT : 0);
}
}
OpenPOWER on IntegriCloud