summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FrameLowering.h
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-02-14 17:35:52 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-02-14 17:35:52 +0000
commitee88ed6753806705e807c5914c764f49b23eb520 (patch)
tree532ba6aef9c0150baaaf49a020cbfedd0fc62b9f /llvm/lib/Target/X86/X86FrameLowering.h
parent5df4d8892fd5670fd31098d57af148a7fccceb07 (diff)
downloadbcm5719-llvm-ee88ed6753806705e807c5914c764f49b23eb520.tar.gz
bcm5719-llvm-ee88ed6753806705e807c5914c764f49b23eb520.zip
[DWARF] Fix incorrect prologue end line record.
The prologue-end line record must be emitted after the last instruction that is part of the function frame setup code and before the instruction that marks the beginning of the function body. Patch by Carlos Alberto Enciso! Differential Revision: https://reviews.llvm.org/D41762 llvm-svn: 325143
Diffstat (limited to 'llvm/lib/Target/X86/X86FrameLowering.h')
-rw-r--r--llvm/lib/Target/X86/X86FrameLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.h b/llvm/lib/Target/X86/X86FrameLowering.h
index 909319fc18f..ec98e3fbfdc 100644
--- a/llvm/lib/Target/X86/X86FrameLowering.h
+++ b/llvm/lib/Target/X86/X86FrameLowering.h
@@ -125,7 +125,7 @@ public:
/// Emit a series of instructions to increment / decrement the stack
/// pointer by a constant value.
void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
- int64_t NumBytes, bool InEpilogue) const;
+ const DebugLoc &DL, int64_t NumBytes, bool InEpilogue) const;
/// Check that LEA can be used on SP in an epilogue sequence for \p MF.
bool canUseLEAForSPInEpilogue(const MachineFunction &MF) const;
OpenPOWER on IntegriCloud