mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
Use SDL->getCurDebugLoc() instead of unknown loc for landing pads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ec37e98b3d
commit
b288487a8e
@ -743,7 +743,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn,
|
|||||||
unsigned LabelID = MMI->addLandingPad(BB);
|
unsigned LabelID = MMI->addLandingPad(BB);
|
||||||
|
|
||||||
const TargetInstrDesc &II = TII.get(TargetInstrInfo::EH_LABEL);
|
const TargetInstrDesc &II = TII.get(TargetInstrInfo::EH_LABEL);
|
||||||
BuildMI(BB, DebugLoc::getUnknownLoc(), II).addImm(LabelID);
|
BuildMI(BB, SDL->getCurDebugLoc(), II).addImm(LabelID);
|
||||||
|
|
||||||
// Mark exception register as live in.
|
// Mark exception register as live in.
|
||||||
unsigned Reg = TLI.getExceptionAddressRegister();
|
unsigned Reg = TLI.getExceptionAddressRegister();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user