LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
llvm::MCWasmObjectTargetWriter Class Referenceabstract

#include "llvm/MC/MCWasmObjectWriter.h"

Inheritance diagram for llvm::MCWasmObjectTargetWriter:
Inheritance graph
[legend]

Public Member Functions

virtual ~MCWasmObjectTargetWriter ()
 
Triple::ObjectFormatType getFormat () const override
 
virtual unsigned getRelocType (const MCValue &Target, const MCFixup &Fixup, const MCSectionWasm &FixupSection, bool IsLocRel) const =0
 
Accessors
bool is64Bit () const
 
bool isEmscripten () const
 
- Public Member Functions inherited from llvm::MCObjectTargetWriter
virtual ~MCObjectTargetWriter ()=default
 
virtual Triple::ObjectFormatType getFormat () const =0
 

Static Public Member Functions

static bool classof (const MCObjectTargetWriter *W)
 

Protected Member Functions

 MCWasmObjectTargetWriter (bool Is64Bit_, bool IsEmscripten)
 

Detailed Description

Definition at line 22 of file MCWasmObjectWriter.h.

Constructor & Destructor Documentation

◆ MCWasmObjectTargetWriter()

MCWasmObjectTargetWriter::MCWasmObjectTargetWriter ( bool  Is64Bit_,
bool  IsEmscripten 
)
explicitprotected

Definition at line 13 of file MCWasmObjectTargetWriter.cpp.

◆ ~MCWasmObjectTargetWriter()

MCWasmObjectTargetWriter::~MCWasmObjectTargetWriter ( )
virtualdefault

Member Function Documentation

◆ classof()

static bool llvm::MCWasmObjectTargetWriter::classof ( const MCObjectTargetWriter W)
inlinestatic

Definition at line 33 of file MCWasmObjectWriter.h.

References llvm::Triple::Wasm.

◆ getFormat()

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

Implements llvm::MCObjectTargetWriter.

Definition at line 32 of file MCWasmObjectWriter.h.

References llvm::Triple::Wasm.

◆ getRelocType()

virtual unsigned llvm::MCWasmObjectTargetWriter::getRelocType ( const MCValue Target,
const MCFixup Fixup,
const MCSectionWasm FixupSection,
bool  IsLocRel 
) const
pure virtual

◆ is64Bit()

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

Definition at line 43 of file MCWasmObjectWriter.h.

◆ isEmscripten()

bool llvm::MCWasmObjectTargetWriter::isEmscripten ( ) const
inline

Definition at line 44 of file MCWasmObjectWriter.h.


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