From 5ebe6ccf658d829f9e3b7bb2ee2a5c4c392c2a7d Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 9 Sep 2013 23:28:15 +0000 Subject: [PATCH] Use a default value for the prologue's debug location. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190366 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86FrameLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index adcd4f7dedc..dd02c4ea7b9 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/lib/Target/X86/X86FrameLowering.cpp @@ -408,7 +408,7 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF) const { unsigned FramePtr = RegInfo->getFrameRegister(MF); unsigned StackPtr = RegInfo->getStackRegister(); unsigned BasePtr = RegInfo->getBaseRegister(); - DebugLoc DL; + DebugLoc DL = MBB.findDebugLoc(MBBI); // If we're forcing a stack realignment we can't rely on just the frame // info, we need to know the ABI stack alignment as well in case we -- 2.34.1