mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 05:21:13 +00:00
Do not use first actual instruction's location for prologue. The debug wants to skip prologue while setting a breakpoint for the function.
llvm-svn: 73592
This commit is contained in:
parent
3e9d15410b
commit
db78831eaa
@ -729,8 +729,7 @@ void X86RegisterInfo::emitPrologue(MachineFunction &MF) const {
|
|||||||
bool needsFrameMoves = (MMI && MMI->hasDebugInfo()) ||
|
bool needsFrameMoves = (MMI && MMI->hasDebugInfo()) ||
|
||||||
!Fn->doesNotThrow() ||
|
!Fn->doesNotThrow() ||
|
||||||
UnwindTablesMandatory;
|
UnwindTablesMandatory;
|
||||||
DebugLoc DL = (MBBI != MBB.end() ? MBBI->getDebugLoc() :
|
DebugLoc DL;
|
||||||
DebugLoc::getUnknownLoc());
|
|
||||||
|
|
||||||
// Prepare for frame info.
|
// Prepare for frame info.
|
||||||
unsigned FrameLabelId = 0;
|
unsigned FrameLabelId = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user