LLVM  6.0.0svn
Public Member Functions | Protected Member Functions | List of all members
llvm::MCMachObjectTargetWriter Class Referenceabstract

#include "llvm/MC/MCMachObjectWriter.h"

Public Member Functions

virtual ~MCMachObjectTargetWriter ()
 
Lifetime Management
virtual void reset ()
 
Accessors
bool is64Bit () const
 
uint32_t getCPUType () const
 
uint32_t getCPUSubtype () const
 
unsigned getLocalDifferenceRelocationType () const
 
API
virtual void recordRelocation (MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue)=0
 

Protected Member Functions

 MCMachObjectTargetWriter (bool Is64Bit_, uint32_t CPUType_, uint32_t CPUSubtype_)
 
void setLocalDifferenceRelocationType (unsigned Type)
 

Detailed Description

Definition at line 29 of file MCMachObjectWriter.h.

Constructor & Destructor Documentation

◆ MCMachObjectTargetWriter()

MCMachObjectTargetWriter::MCMachObjectTargetWriter ( bool  Is64Bit_,
uint32_t  CPUType_,
uint32_t  CPUSubtype_ 
)
protected

Definition at line 14 of file MCMachObjectTargetWriter.cpp.

References ~MCMachObjectTargetWriter().

◆ ~MCMachObjectTargetWriter()

MCMachObjectTargetWriter::~MCMachObjectTargetWriter ( )
virtualdefault

Member Function Documentation

◆ getCPUSubtype()

uint32_t llvm::MCMachObjectTargetWriter::getCPUSubtype ( ) const
inline

Definition at line 58 of file MCMachObjectWriter.h.

◆ getCPUType()

uint32_t llvm::MCMachObjectTargetWriter::getCPUType ( ) const
inline

Definition at line 57 of file MCMachObjectWriter.h.

◆ getLocalDifferenceRelocationType()

unsigned llvm::MCMachObjectTargetWriter::getLocalDifferenceRelocationType ( ) const
inline

Definition at line 59 of file MCMachObjectWriter.h.

References llvm::HexStyle::Asm, Fixup, and recordRelocation().

◆ is64Bit()

bool llvm::MCMachObjectTargetWriter::is64Bit ( ) const
inline

Definition at line 56 of file MCMachObjectWriter.h.

◆ recordRelocation()

virtual void llvm::MCMachObjectTargetWriter::recordRelocation ( MachObjectWriter Writer,
MCAssembler Asm,
const MCAsmLayout Layout,
const MCFragment Fragment,
const MCFixup Fixup,
MCValue  Target,
uint64_t &  FixedValue 
)
pure virtual

◆ reset()

virtual void llvm::MCMachObjectTargetWriter::reset ( )
inlinevirtual

Definition at line 49 of file MCMachObjectWriter.h.

Referenced by llvm::MachObjectWriter::MachObjectWriter().

◆ setLocalDifferenceRelocationType()

void llvm::MCMachObjectTargetWriter::setLocalDifferenceRelocationType ( unsigned  Type)
inlineprotected

Definition at line 39 of file MCMachObjectWriter.h.

References ~MCMachObjectTargetWriter().


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