|
LLVM
4.0.0
|
#include <MCELFObjectWriter.h>
Public Member Functions | |
| virtual | ~MCELFObjectTargetWriter () |
| virtual unsigned | getRelocType (MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const =0 |
| virtual bool | needsRelocateWithSymbol (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 | setRType (unsigned Value, unsigned Type) const |
| unsigned | setRType2 (unsigned Value, unsigned Type) const |
| unsigned | setRType3 (unsigned Value, unsigned Type) const |
| unsigned | setRSsym (unsigned Value, unsigned Type) const |
Accessors | |
| uint8_t | getOSABI () const |
| uint16_t | getEMachine () const |
| bool | hasRelocationAddend () const |
| bool | is64Bit () const |
| bool | isN64 () const |
Static Public Member Functions | |
| static uint8_t | getOSABI (Triple::OSType OSType) |
Protected Member Functions | |
| MCELFObjectTargetWriter (bool Is64Bit_, uint8_t OSABI_, uint16_t EMachine_, bool HasRelocationAddend, bool IsN64=false) | |
Definition at line 53 of file MCELFObjectWriter.h.
|
protected |
Definition at line 17 of file MCELFObjectTargetWriter.cpp.
|
inlinevirtual |
Definition at line 79 of file MCELFObjectWriter.h.
|
inline |
Definition at line 93 of file MCELFObjectWriter.h.
|
inlinestatic |
Definition at line 67 of file MCELFObjectWriter.h.
References llvm::Triple::CloudABI, llvm::ELF::ELFOSABI_CLOUDABI, llvm::ELF::ELFOSABI_FREEBSD, llvm::ELF::ELFOSABI_NONE, llvm::Triple::FreeBSD, and llvm::Triple::PS4.
|
inline |
Definition at line 92 of file MCELFObjectWriter.h.
Referenced by llvm::createAArch64beAsmBackend(), llvm::createAArch64leAsmBackend(), llvm::createARMAsmBackend(), llvm::createHexagonAsmBackend(), llvm::MipsAsmBackend::createObjectWriter(), llvm::AVRAsmBackend::createObjectWriter(), llvm::createPPCAsmBackend(), llvm::createRISCVAsmBackend(), llvm::createSystemZMCAsmBackend(), llvm::createX86_32AsmBackend(), and llvm::createX86_64AsmBackend().
|
pure virtual |
Implemented in llvm::AVRELFObjectWriter.
|
inline |
Definition at line 120 of file MCELFObjectWriter.h.
References R_SSYM_SHIFT.
|
inline |
Definition at line 111 of file MCELFObjectWriter.h.
References R_TYPE_SHIFT.
|
inline |
Definition at line 114 of file MCELFObjectWriter.h.
References R_TYPE2_SHIFT.
|
inline |
Definition at line 117 of file MCELFObjectWriter.h.
References R_TYPE3_SHIFT.
|
inline |
Definition at line 94 of file MCELFObjectWriter.h.
|
inline |
Definition at line 95 of file MCELFObjectWriter.h.
|
inline |
Definition at line 96 of file MCELFObjectWriter.h.
|
virtual |
Definition at line 27 of file MCELFObjectTargetWriter.cpp.
Definition at line 134 of file MCELFObjectWriter.h.
References R_SSYM_MASK, and R_SSYM_SHIFT.
Definition at line 125 of file MCELFObjectWriter.h.
References R_TYPE_MASK, and R_TYPE_SHIFT.
Definition at line 128 of file MCELFObjectWriter.h.
References R_TYPE2_MASK, and R_TYPE2_SHIFT.
Definition at line 131 of file MCELFObjectWriter.h.
References R_TYPE3_MASK, and R_TYPE3_SHIFT.
|
virtual |
Definition at line 33 of file MCELFObjectTargetWriter.cpp.
1.8.6