LLVM  6.0.0svn
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 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
 
uint8_t getOSABI () const
 
uint16_t getEMachine () const
 
bool hasRelocationAddend () const
 
bool is64Bit () const
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::MCELFObjectTargetWriter
static uint8_t getOSABI (Triple::OSType OSType)
 
- Protected Member Functions inherited from llvm::MCELFObjectTargetWriter
 MCELFObjectTargetWriter (bool Is64Bit_, uint8_t OSABI_, uint16_t EMachine_, bool HasRelocationAddend)
 

Detailed Description

Writes AVR machine code into an ELF32 object file.

Definition at line 24 of file AVRELFObjectWriter.cpp.

Constructor & Destructor Documentation

◆ AVRELFObjectWriter()

llvm::AVRELFObjectWriter::AVRELFObjectWriter ( uint8_t  OSABI)

Definition at line 36 of file AVRELFObjectWriter.cpp.

Referenced by llvm::createAVRELFObjectWriter().

◆ ~AVRELFObjectWriter()

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

Definition at line 28 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: