summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-10-02 23:43:11 +0000
committerEric Christopher <echristo@apple.com>2012-10-02 23:43:11 +0000
commitd7e9a450eb4b3eb4c97408764b1bbad796bc6941 (patch)
treee74d7fcbec00e04122f63cda995eabe49ddf57d8 /llvm/lib/CodeGen
parent0c1b62779eaf12ec5712345e42e5d60e40173ea0 (diff)
downloadbcm5719-llvm-d7e9a450eb4b3eb4c97408764b1bbad796bc6941.tar.gz
bcm5719-llvm-d7e9a450eb4b3eb4c97408764b1bbad796bc6941.zip
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. llvm-svn: 165071
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index fd2fd24331a..f79854dc443 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud