summaryrefslogtreecommitdiffstats
path: root/llvm/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
commite8ae98a8d9b9230e9a8b2bd8ed3f84044afcfede (patch)
tree30d40b1e8c0cafd50dc47c41a2cdae6bef5b3684 /llvm/lib/Target/XCore/XCoreInstrInfo.h
parent68591286bc40d48c7e6b9043216e965c09d77f84 (diff)
downloadbcm5719-llvm-e8ae98a8d9b9230e9a8b2bd8ed3f84044afcfede.tar.gz
bcm5719-llvm-e8ae98a8d9b9230e9a8b2bd8ed3f84044afcfede.zip
Implement the emitFrameIndexDebugValue and getDebugValueLocation hooks.
This fixes an assert due to the operands of the DBG_VALUE instruction not being as expected (PR11105). llvm-svn: 141666
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreInstrInfo.h')
-rw-r--r--llvm/lib/Target/XCore/XCoreInstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/XCore/XCoreInstrInfo.h b/llvm/lib/Target/XCore/XCoreInstrInfo.h
index 840b1e16365..d354802ee03 100644
--- a/llvm/lib/Target/XCore/XCoreInstrInfo.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud