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 | e8ae98a8d9b9230e9a8b2bd8ed3f84044afcfede (patch) | |
tree | 30d40b1e8c0cafd50dc47c41a2cdae6bef5b3684 /llvm/lib/Target/XCore/XCoreInstrInfo.h | |
parent | 68591286bc40d48c7e6b9043216e965c09d77f84 (diff) | |
download | bcm5719-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.h | 5 |
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; |