Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::MCMachObjectTargetWriter Class Referenceabstract

#include "llvm/MC/MCMachObjectWriter.h"

Inheritance diagram for llvm::MCMachObjectTargetWriter:
[legend]

Public Member Functions

virtual ~MCMachObjectTargetWriter ()
Triple::ObjectFormatType getFormat () const override
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 MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue)=0
Public Member Functions inherited from llvm::MCObjectTargetWriter
virtual ~MCObjectTargetWriter ()=default
void setAssembler (MCAssembler *A)

Static Public Member Functions

static bool classof (const MCObjectTargetWriter *W)

Public Attributes

unsigned LocalDifference_RIT = 0

Protected Member Functions

 MCMachObjectTargetWriter (bool Is64Bit_, uint32_t CPUType_, uint32_t CPUSubtype_)
void setLocalDifferenceRelocationType (unsigned Type)
Protected Member Functions inherited from llvm::MCObjectTargetWriter
LLVM_ABI MCContextgetContext () const
LLVM_ABI void reportError (SMLoc L, const Twine &Msg) const

Protected Attributes

uint32_t CPUSubtype
Protected Attributes inherited from llvm::MCObjectTargetWriter
MCAssemblerAsm = nullptr

Detailed Description

Definition at line 34 of file MCMachObjectWriter.h.

Constructor & Destructor Documentation

◆ MCMachObjectTargetWriter()

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

Definition at line 13 of file MCMachObjectTargetWriter.cpp.

References CPUSubtype.

◆ ~MCMachObjectTargetWriter()

MCMachObjectTargetWriter::~MCMachObjectTargetWriter ( )
virtualdefault

Member Function Documentation

◆ classof()

bool llvm::MCMachObjectTargetWriter::classof ( const MCObjectTargetWriter * W)
inlinestatic

Definition at line 54 of file MCMachObjectWriter.h.

References llvm::Triple::MachO.

◆ getCPUSubtype()

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

Definition at line 70 of file MCMachObjectWriter.h.

References CPUSubtype.

◆ getCPUType()

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

Definition at line 69 of file MCMachObjectWriter.h.

◆ getFormat()

Triple::ObjectFormatType llvm::MCMachObjectTargetWriter::getFormat ( ) const
inlineoverridevirtual

Implements llvm::MCObjectTargetWriter.

Definition at line 53 of file MCMachObjectWriter.h.

References llvm::Triple::MachO.

◆ getLocalDifferenceRelocationType()

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

Definition at line 71 of file MCMachObjectWriter.h.

References LocalDifference_RIT.

◆ is64Bit()

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

Definition at line 68 of file MCMachObjectWriter.h.

◆ recordRelocation()

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

◆ reset()

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

Definition at line 61 of file MCMachObjectWriter.h.

◆ setLocalDifferenceRelocationType()

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

Definition at line 46 of file MCMachObjectWriter.h.

References LocalDifference_RIT.

Member Data Documentation

◆ CPUSubtype

uint32_t llvm::MCMachObjectTargetWriter::CPUSubtype
protected

Definition at line 38 of file MCMachObjectWriter.h.

Referenced by getCPUSubtype(), and MCMachObjectTargetWriter().

◆ LocalDifference_RIT

unsigned llvm::MCMachObjectTargetWriter::LocalDifference_RIT = 0

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