mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs
Frame index handling is now target-agnostic, so delete the target hooks for creation & asm printing of target-specific addressing in DBG_VALUEs and any related functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -402,10 +402,6 @@ namespace llvm {
|
||||
void EmitSectionOffset(const MCSymbol *Label,
|
||||
const MCSymbol *SectionLabel) const;
|
||||
|
||||
/// getDebugValueLocation - Get location information encoded by DBG_VALUE
|
||||
/// operands.
|
||||
virtual MachineLocation getDebugValueLocation(const MachineInstr *MI) const;
|
||||
|
||||
/// getISAEncoding - Get the value for DW_AT_APPLE_isa. Zero if no isa
|
||||
/// encoding specified.
|
||||
virtual unsigned getISAEncoding() { return 0; }
|
||||
|
@@ -505,22 +505,6 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/// emitFrameIndexDebugValue - Emit a target-dependent form of
|
||||
/// DBG_VALUE encoding the address of a frame index. Addresses would
|
||||
/// normally be lowered the same way as other addresses on the target,
|
||||
/// e.g. in load instructions. For targets that do not support this
|
||||
/// the debug info is simply lost.
|
||||
/// If you add this for a target you should handle this DBG_VALUE in the
|
||||
/// target-specific AsmPrinter code as well; you will probably get invalid
|
||||
/// assembly output if you don't.
|
||||
virtual MachineInstr *emitFrameIndexDebugValue(MachineFunction &MF,
|
||||
int FrameIx,
|
||||
uint64_t Offset,
|
||||
const MDNode *MDPtr,
|
||||
DebugLoc dl) const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// foldMemoryOperand - Attempt to fold a load or store of the specified stack
|
||||
/// slot into the specified machine instruction for the specified operand(s).
|
||||
/// If this is possible, a new instruction is returned with the specified
|
||||
|
Reference in New Issue
Block a user