aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore/XCoreInstrInfo.h
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2011-10-11 12:55:35 +0000
committerRichard Osborne <richard@xmos.com>2011-10-11 12:55:35 +0000
commit6c6f28ffe42d06655f5977bd0d01214e32de93a5 (patch)
treed69ae8ddeca4984a4d9bcd45b7f97377a76d5d1d /lib/Target/XCore/XCoreInstrInfo.h
parent56354d48bb937cbb23736d24d9ca4d7a0fcc97e0 (diff)
downloadexternal_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.h5
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;