mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user