LLVM 19.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

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
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 

Definition at line 13 of file MCWasmObjectTargetWriter.cpp.

◆ ~MCWasmObjectTargetWriter()

MCWasmObjectTargetWriter::~MCWasmObjectTargetWriter ( )

Member Function Documentation

◆ classof()

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

Definition at line 33 of file MCWasmObjectWriter.h.

References llvm::Triple::Wasm.

◆ getFormat()

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

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

Definition at line 43 of file MCWasmObjectWriter.h.

◆ isEmscripten()

bool llvm::MCWasmObjectTargetWriter::isEmscripten ( ) const

Definition at line 44 of file MCWasmObjectWriter.h.

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