diff options
author | Eric Christopher <echristo@apple.com> | 2012-10-02 23:43:11 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-10-02 23:43:11 +0000 |
commit | d7e9a450eb4b3eb4c97408764b1bbad796bc6941 (patch) | |
tree | e74d7fcbec00e04122f63cda995eabe49ddf57d8 /llvm/lib/Target/X86/X86FrameLowering.cpp | |
parent | 0c1b62779eaf12ec5712345e42e5d60e40173ea0 (diff) | |
download | bcm5719-llvm-d7e9a450eb4b3eb4c97408764b1bbad796bc6941.tar.gz bcm5719-llvm-d7e9a450eb4b3eb4c97408764b1bbad796bc6941.zip |
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.
llvm-svn: 165071
Diffstat (limited to 'llvm/lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86FrameLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp index f480de0bad5..11745ec3535 100644 --- a/llvm/lib/Target/X86/X86FrameLowering.cpp +++ b/llvm/lib/Target/X86/X86FrameLowering.cpp @@ -836,6 +836,8 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF) const { MI->getOperand(3).setIsDead(); } + DL = MBB.findDebugLoc(MBBI); + // If there is an SUB32ri of ESP immediately before this instruction, merge // the two. This can be the case when tail call elimination is enabled and // the callee has more arguments then the caller. |