commit | 5cf55e1c6a22ae066db5066fdc69f99564ace8ea | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Thu Jul 12 23:30:25 2012 +0000 |
committer | Eric Christopher <echristo@apple.com> | Thu Jul 12 23:30:25 2012 +0000 |
tree | 2a5e86ff12c0b545cb7986fa4036e853a4e32a91 | |
parent | 151d81d1e7c5d37fb7c234cadb2101d5f0150d69 [diff] [blame] |
The end of the prologue should be marked with is_stmt. Fixes PR13303. Patch by Paul Robinson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160148 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 038792b..649684a 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1382,7 +1382,7 @@ MF->getFunction()->getContext()); recordSourceLine(FnStartDL.getLine(), FnStartDL.getCol(), FnStartDL.getScope(MF->getFunction()->getContext()), - 0); + DWARF2_LINE_DEFAULT_IS_STMT ? DWARF2_FLAG_IS_STMT : 0); } }