LLVM 20.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]

Public Member Functions

 AVRELFObjectWriter (uint8_t OSABI)
 
virtual ~AVRELFObjectWriter ()=default
 
unsigned getRelocType (MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const override
 
- Public Member Functions inherited from llvm::MCELFObjectTargetWriter
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
 
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
 

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 33 of file AVRELFObjectWriter.cpp.

◆ ~AVRELFObjectWriter()

virtual llvm::AVRELFObjectWriter::~AVRELFObjectWriter ( )
virtualdefault

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: