diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-01-31 04:06:00 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-31 04:06:00 +0000 |
commit | c67aa7cbd507eb0ecf65724dd22a1bc968a2a549 (patch) | |
tree | 9c2311f00dcfbf8d007be5b601fef06d167aaa12 /lib/Target/X86/X86RegisterInfo.h | |
parent | 72bebb9205c1628601b052d25555aabe6e15e6f4 (diff) |
Add x86 specific getFrameIndexOffset(). This fixes local variable debugging info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.h')
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h index 16bbf07489..fd18c4135d 100644 --- a/lib/Target/X86/X86RegisterInfo.h +++ b/lib/Target/X86/X86RegisterInfo.h @@ -122,6 +122,7 @@ public: // Debug information queries. unsigned getRARegister() const; unsigned getFrameRegister(MachineFunction &MF) const; + int getFrameIndexOffset(MachineFunction &MF, unsigned FI) const; void getInitialFrameState(std::vector<MachineMove> &Moves) const; // Exception handling queries. |