diff options
author | Eric Christopher <echristo@apple.com> | 2012-10-02 23:43:11 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-10-02 23:43:11 +0000 |
commit | 394820b8e159a39a9a07aac9722ad8738680037d (patch) | |
tree | 561916f4962dda4fb5a4a90f9bb91a4819efb844 /lib/CodeGen/AsmPrinter | |
parent | f9e008bf673a8eeb04766bfc99f51068608809d2 (diff) | |
download | external_llvm-394820b8e159a39a9a07aac9722ad8738680037d.zip external_llvm-394820b8e159a39a9a07aac9722ad8738680037d.tar.gz external_llvm-394820b8e159a39a9a07aac9722ad8738680037d.tar.bz2 |
Revert "Don't use a debug location for frame setup instructions in the"
This reverts 165055 and 165052 temporarily while I look at debugger
failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index fd2fd24..f79854d 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1355,10 +1355,9 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) { if (!MI->isLabel()) AtBlockEntry = false; - // First known non-DBG_VALUE and non-frame setup location marks - // the beginning of the function body. - if (!MI->getFlag(MachineInstr::FrameSetup) && - (PrologEndLoc.isUnknown() && !MI->getDebugLoc().isUnknown())) + // First known non DBG_VALUE location marks beginning of function + // body. + if (PrologEndLoc.isUnknown() && !MI->getDebugLoc().isUnknown()) PrologEndLoc = MI->getDebugLoc(); // Check if the instruction clobbers any registers with debug vars. |