llvm::MCELFObjectTargetWriter

Target-specific ELF object-file writer hooks.

Synopsis

Declared in <llvm/MC/MCELFObjectWriter.h>

class MCELFObjectTargetWriter
    : public MCObjectTargetWriter

Base Classes

NameDescription
MCObjectTargetWriterBase class for classes that define behaviour that is specific to both the target and the object format.

Member Functions

NameDescription
~MCELFObjectTargetWriter [destructor] [virtual]Destroy the ELF target object writer.
getABIVersion Return the ELF ABI version for this writer.
getEMachine Return the ELF machine type for this writer.
getFormat [virtual]Return the object file format handled by this writer.
getOSABI @{ Return the ELF OS/ABI identifier for this writer.
getRSsym Extract the N64 special-symbol field from packed Type.
getRType Extract the primary N64 relocation type from packed Type.
getRType2 Extract the second N64 relocation type from packed Type.
getRType3 Extract the third N64 relocation type from packed Type.
getRelocType [virtual]Return the ELF relocation type for Fixup applied to Target.
hasRelocationAddend Return true if this target emits RELA (explicit addend) relocations.
is64Bit Return true if this writer targets 64-bit ELF.
needsRelocateWithSymbol [virtual]Return true if relocation Type must use a symbol rather than a section.
setAssembler Set the assembler associated with this target writer.
setRSsym Set the N64 special-symbol field in packed relocation Type.
sortRelocs [virtual]Sort Relocs into the order required for emission.

Static Member Functions

NameDescription
classof Return true if W is an ELF target object writer.
getOSABI Map a triple OS type to an ELF OSABI value.
setRTypes Pack three N64 relocation types into a single word.

Protected Member Functions

NameDescription
MCELFObjectTargetWriter [constructor]Construct an ELF target object writer.
getContext Get the MC context associated with the assembler.
reportError Report an error at L with message Msg via the assembler context.

Protected Data Members

NameDescription
Asm Assembler that owns this target writer, or null if unset.