diff options
author | Richard Osborne <richard@xmos.com> | 2011-10-11 12:55:35 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2011-10-11 12:55:35 +0000 |
commit | 6c6f28ffe42d06655f5977bd0d01214e32de93a5 (patch) | |
tree | d69ae8ddeca4984a4d9bcd45b7f97377a76d5d1d /lib/Target/XCore/XCoreInstrInfo.h | |
parent | 56354d48bb937cbb23736d24d9ca4d7a0fcc97e0 (diff) | |
download | external_llvm-6c6f28ffe42d06655f5977bd0d01214e32de93a5.zip external_llvm-6c6f28ffe42d06655f5977bd0d01214e32de93a5.tar.gz external_llvm-6c6f28ffe42d06655f5977bd0d01214e32de93a5.tar.bz2 |
Implement the emitFrameIndexDebugValue and getDebugValueLocation hooks.
This fixes an assert due to the operands of the DBG_VALUE instruction not
being as expected (PR11105).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreInstrInfo.h')
-rw-r--r-- | lib/Target/XCore/XCoreInstrInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.h b/lib/Target/XCore/XCoreInstrInfo.h index 840b1e1..d354802 100644 --- a/lib/Target/XCore/XCoreInstrInfo.h +++ b/lib/Target/XCore/XCoreInstrInfo.h @@ -78,6 +78,11 @@ public: const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const; + virtual MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF, + int FrameIx, + uint64_t Offset, + const MDNode *MDPtr, + DebugLoc DL) const; virtual bool ReverseBranchCondition( SmallVectorImpl<MachineOperand> &Cond) const; |