diff options
author | Robert Lougher <rob.lougher@gmail.com> | 2017-09-12 18:23:15 +0000 |
---|---|---|
committer | Robert Lougher <rob.lougher@gmail.com> | 2017-09-12 18:23:15 +0000 |
commit | 51529eb0c25ba48a83ea5f99b95708325d70c2c2 (patch) | |
tree | 7d3793dee6ce48312ddc8c6b0f4643ee0e77637a /llvm/lib/CodeGen | |
parent | 5a72679338f9dc0e38c98befe65aac73de1822ab (diff) | |
download | bcm5719-llvm-51529eb0c25ba48a83ea5f99b95708325d70c2c2.tar.gz bcm5719-llvm-51529eb0c25ba48a83ea5f99b95708325d70c2c2.zip |
Revert "[DWARF] Incorrect prologue end line record."
This reverts commit r313047 as it is causing buildbot failure (lldb inline
stepping tests).
llvm-svn: 313057
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 835ca1f2852..e44ad4ea302 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1158,9 +1158,7 @@ void DwarfDebug::beginInstruction(const MachineInstr *MI) { return; // Check if source location changes, but ignore DBG_VALUE and CFI locations. - // If the instruction is part of the function frame setup code, do not emit - // any line record, as there is no correspondence with any user code. - if (MI->isMetaInstruction() || MI->getFlag(MachineInstr::FrameSetup)) + if (MI->isMetaInstruction()) return; const DebugLoc &DL = MI->getDebugLoc(); // When we emit a line-0 record, we don't update PrevInstLoc; so look at |