LLVM 20.0.0git
|
#include "llvm/MC/MCELFObjectWriter.h"
Public Member Functions | |
virtual | ~MCELFObjectTargetWriter ()=default |
Triple::ObjectFormatType | getFormat () const override |
virtual unsigned | getRelocType (MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const =0 |
virtual bool | needsRelocateWithSymbol (const MCValue &Val, const MCSymbol &Sym, unsigned Type) const |
virtual void | sortRelocs (const MCAssembler &Asm, 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 |
Accessors | |
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 |
virtual Triple::ObjectFormatType | getFormat () const =0 |
Static Public Member Functions | |
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 | |
MCELFObjectTargetWriter (bool Is64Bit_, uint8_t OSABI_, uint16_t EMachine_, bool HasRelocationAddend_, uint8_t ABIVersion_=0) | |
Definition at line 53 of file MCELFObjectWriter.h.
|
protected |
Definition at line 13 of file MCELFObjectTargetWriter.cpp.
|
virtualdefault |
|
inlinestatic |
Definition at line 68 of file MCELFObjectWriter.h.
References llvm::Triple::ELF.
|
inline |
Definition at line 100 of file MCELFObjectWriter.h.
|
inline |
Definition at line 101 of file MCELFObjectWriter.h.
|
inlineoverridevirtual |
Implements llvm::MCObjectTargetWriter.
Definition at line 67 of file MCELFObjectWriter.h.
References llvm::Triple::ELF.
|
inline |
Definition at line 99 of file MCELFObjectWriter.h.
Referenced by llvm::createAArch64beAsmBackend(), llvm::createAArch64leAsmBackend(), createARMAsmBackend(), llvm::createHexagonAsmBackend(), llvm::createLoongArchAsmBackend(), llvm::createM68kAsmBackend(), llvm::createMipsELFObjectWriter(), llvm::AVRAsmBackend::createObjectTargetWriter(), llvm::createRISCVAsmBackend(), llvm::createSystemZMCAsmBackend(), llvm::createX86_32AsmBackend(), llvm::createX86_64AsmBackend(), and llvm::createXtensaMCAsmBackend().
|
inlinestatic |
Definition at line 72 of file MCELFObjectWriter.h.
References llvm::ELF::ELFOSABI_FREEBSD, llvm::ELF::ELFOSABI_NONE, llvm::ELF::ELFOSABI_OPENBSD, llvm::ELF::ELFOSABI_SOLARIS, llvm::ELF::ELFOSABI_STANDALONE, llvm::Triple::FreeBSD, llvm::Triple::HermitCore, llvm::Triple::OpenBSD, llvm::Triple::PS4, and llvm::Triple::Solaris.
|
pure virtual |
Implemented in llvm::AVRELFObjectWriter.
Definition at line 127 of file MCELFObjectWriter.h.
References R_SSYM_SHIFT.
Definition at line 118 of file MCELFObjectWriter.h.
References R_TYPE_SHIFT.
Definition at line 121 of file MCELFObjectWriter.h.
References R_TYPE2_SHIFT.
Definition at line 124 of file MCELFObjectWriter.h.
References R_TYPE3_SHIFT.
|
inline |
Definition at line 102 of file MCELFObjectWriter.h.
|
inline |
Definition at line 103 of file MCELFObjectWriter.h.
|
virtual |
Definition at line 20 of file MCELFObjectTargetWriter.cpp.
Definition at line 137 of file MCELFObjectWriter.h.
References R_SSYM_MASK, and R_SSYM_SHIFT.
|
inlinestatic |
Definition at line 132 of file MCELFObjectWriter.h.
References R_TYPE2_SHIFT, R_TYPE3_SHIFT, and R_TYPE_SHIFT.
|
virtual |
Definition at line 27 of file MCELFObjectTargetWriter.cpp.