LLVM  11.0.0git
Public Member Functions | List of all members
llvm::AVRELFObjectWriter Class Reference

Writes AVR machine code into an ELF32 object file. More...

Inheritance diagram for llvm::AVRELFObjectWriter:
Inheritance graph
[legend]
Collaboration diagram for llvm::AVRELFObjectWriter:
Collaboration graph
[legend]

Public Member Functions

 AVRELFObjectWriter (uint8_t OSABI)
 
virtual ~AVRELFObjectWriter ()
 
unsigned getRelocType (MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const override
 
- Public Member Functions inherited from llvm::MCELFObjectTargetWriter
virtual ~MCELFObjectTargetWriter ()=default
 
virtual Triple::ObjectFormatType getFormat () const
 
virtual bool needsRelocateWithSymbol (const MCSymbol &Sym, unsigned Type) const
 
virtual void sortRelocs (const MCAssembler &Asm, std::vector< ELFRelocationEntry > &Relocs)
 
virtual void addTargetSectionFlags (MCContext &Ctx, MCSectionELF &Sec)
 
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
 

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)
 

Detailed Description

Writes AVR machine code into an ELF32 object file.

Definition at line 23 of file AVRELFObjectWriter.cpp.

Constructor & Destructor Documentation

◆ AVRELFObjectWriter()

llvm::AVRELFObjectWriter::AVRELFObjectWriter ( uint8_t  OSABI)

Definition at line 35 of file AVRELFObjectWriter.cpp.

◆ ~AVRELFObjectWriter()

virtual llvm::AVRELFObjectWriter::~AVRELFObjectWriter ( )
inlinevirtual

Definition at line 27 of file AVRELFObjectWriter.cpp.

References Fixup, and getRelocType().

Member Function Documentation

◆ getRelocType()

unsigned llvm::AVRELFObjectWriter::getRelocType ( MCContext Ctx,
const MCValue Target,
const MCFixup Fixup,
bool  IsPCRel 
) const
overridevirtual

The documentation for this class was generated from the following file: