summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86FrameLowering.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-05-01 15:16:06 +0000
committerAlexey Samsonov <samsonov@google.com>2012-05-01 15:16:06 +0000
commitd07d06ceef942c478c0f75a4c4d7442e61ddff1d (patch)
tree97e1b36f7f34e2b66221efc5a989347d346cf5b6 /lib/Target/X86/X86FrameLowering.h
parent0998627b24a1f183920e782abf717e25cbb1a5f5 (diff)
downloadllvm-d07d06ceef942c478c0f75a4c4d7442e61ddff1d.tar.gz
llvm-d07d06ceef942c478c0f75a4c4d7442e61ddff1d.tar.bz2
llvm-d07d06ceef942c478c0f75a4c4d7442e61ddff1d.tar.xz
X86: Use StackRegister instead of FrameRegister in getFrameIndexReference (to generate debug info for local variables) if stack needs realignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FrameLowering.h')
-rw-r--r--lib/Target/X86/X86FrameLowering.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86FrameLowering.h b/lib/Target/X86/X86FrameLowering.h
index d55a49763a..dc515dc39c 100644
--- a/lib/Target/X86/X86FrameLowering.h
+++ b/lib/Target/X86/X86FrameLowering.h
@@ -60,6 +60,8 @@ public:
bool hasReservedCallFrame(const MachineFunction &MF) const;
int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
+ int getFrameIndexReference(const MachineFunction &MF, int FI,
+ unsigned &FrameReg) const;
uint32_t getCompactUnwindEncoding(MachineFunction &MF) const;
};