LLVM 22.0.0git
|
Writes AVR machine code into an ELF32 object file. More...
Public Member Functions | |
AVRELFObjectWriter (uint8_t OSABI) | |
virtual | ~AVRELFObjectWriter ()=default |
unsigned | getRelocType (const MCFixup &, const MCValue &, bool IsPCRel) const override |
Public Member Functions inherited from llvm::MCELFObjectTargetWriter | |
virtual | ~MCELFObjectTargetWriter ()=default |
Triple::ObjectFormatType | getFormat () const override |
virtual bool | needsRelocateWithSymbol (const MCValue &, unsigned Type) const |
virtual void | sortRelocs (std::vector< ELFRelocationEntry > &Relocs) |
uint8_t | getRType (uint32_t Type) const |
uint8_t | getRType2 (uint32_t Type) const |
uint8_t | getRType3 (uint32_t Type) const |
uint8_t | getRSsym (uint32_t Type) const |
unsigned | setRSsym (unsigned Value, unsigned Type) const |
uint8_t | getOSABI () const |
uint8_t | getABIVersion () const |
uint16_t | getEMachine () const |
bool | hasRelocationAddend () const |
bool | is64Bit () const |
Public Member Functions inherited from llvm::MCObjectTargetWriter | |
virtual | ~MCObjectTargetWriter ()=default |
void | setAssembler (MCAssembler *A) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MCELFObjectTargetWriter | |
static bool | classof (const MCObjectTargetWriter *W) |
static uint8_t | getOSABI (Triple::OSType OSType) |
static unsigned | setRTypes (unsigned Value1, unsigned Value2, unsigned Value3) |
Protected Member Functions inherited from llvm::MCELFObjectTargetWriter | |
MCELFObjectTargetWriter (bool Is64Bit_, uint8_t OSABI_, uint16_t EMachine_, bool HasRelocationAddend_, uint8_t ABIVersion_=0) | |
Protected Member Functions inherited from llvm::MCObjectTargetWriter | |
LLVM_ABI MCContext & | getContext () const |
LLVM_ABI void | reportError (SMLoc L, const Twine &Msg) const |
Protected Attributes inherited from llvm::MCObjectTargetWriter | |
MCAssembler * | Asm = nullptr |
Writes AVR machine code into an ELF32 object file.
Definition at line 23 of file AVRELFObjectWriter.cpp.
llvm::AVRELFObjectWriter::AVRELFObjectWriter | ( | uint8_t | OSABI | ) |
Definition at line 33 of file AVRELFObjectWriter.cpp.
References llvm::MCELFObjectTargetWriter::MCELFObjectTargetWriter().
|
virtualdefault |
|
overridevirtual |
Implements llvm::MCELFObjectTargetWriter.
Definition at line 36 of file AVRELFObjectWriter.cpp.
References Fixup, llvm::AVR::fixup_13_pcrel, llvm::AVR::fixup_16, llvm::AVR::fixup_16_pm, llvm::AVR::fixup_32, llvm::AVR::fixup_6, llvm::AVR::fixup_6_adiw, llvm::AVR::fixup_7_pcrel, llvm::AVR::fixup_8, llvm::AVR::fixup_8_hi8, llvm::AVR::fixup_8_hlo8, llvm::AVR::fixup_8_lo8, llvm::AVR::fixup_call, llvm::AVR::fixup_diff16, llvm::AVR::fixup_diff32, llvm::AVR::fixup_diff8, llvm::AVR::fixup_hh8_ldi, llvm::AVR::fixup_hh8_ldi_neg, llvm::AVR::fixup_hh8_ldi_pm, llvm::AVR::fixup_hh8_ldi_pm_neg, llvm::AVR::fixup_hi8_ldi, llvm::AVR::fixup_hi8_ldi_gs, llvm::AVR::fixup_hi8_ldi_neg, llvm::AVR::fixup_hi8_ldi_pm, llvm::AVR::fixup_hi8_ldi_pm_neg, llvm::AVR::fixup_ldi, llvm::AVR::fixup_lds_sts_16, llvm::AVR::fixup_lo8_ldi, llvm::AVR::fixup_lo8_ldi_gs, llvm::AVR::fixup_lo8_ldi_neg, llvm::AVR::fixup_lo8_ldi_pm, llvm::AVR::fixup_lo8_ldi_pm_neg, llvm::AVR::fixup_ms8_ldi, llvm::AVR::fixup_ms8_ldi_neg, llvm::AVR::fixup_port5, llvm::AVR::fixup_port6, llvm::FK_Data_1, llvm::FK_Data_2, llvm::FK_Data_4, llvm_unreachable, llvm::AVR::S_AVR_NONE, llvm::AVR::S_DIFF16, llvm::AVR::S_DIFF32, llvm::AVR::S_DIFF8, llvm::AVR::S_HH8, llvm::AVR::S_HI8, llvm::AVR::S_LO8, llvm::AVR::S_None, and llvm::AVR::S_PM.