mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Use SDL->getCurDebugLoc() instead of unknown loc for landing pads.
llvm-svn: 63594
This commit is contained in:
parent
78decbdb9d
commit
014973fd5d
@ -743,7 +743,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn,
|
||||
unsigned LabelID = MMI->addLandingPad(BB);
|
||||
|
||||
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.
|
||||
unsigned Reg = TLI.getExceptionAddressRegister();
|
||||
|
Loading…
Reference in New Issue
Block a user