Target‐specific Wasm object‐file writer hooks.

Synopsis

Declared in <llvm/MC/MCWasmObjectWriter.h>

class MCWasmObjectTargetWriter
    : public MCObjectTargetWriter

Base Classes

Name

Description

MCObjectTargetWriter

Base class for classes that define behaviour that is specific to both the target and the object format.

Member Functions

Name

Description

~MCWasmObjectTargetWriter [destructor] [virtual]

Destroy the Wasm target object writer.

getFormat [virtual]

Return the object file format handled by this writer.

getRelocType [virtual]

Return the Wasm relocation type for Fixup applied to Target.

is64Bit

@{ Return true if this writer targets 64‐bit Wasm.

isEmscripten

Return true if this writer targets the Emscripten ABI.

setAssembler

Set the assembler associated with this target writer.

Static Member Functions

Name

Description

classof

Return true if W is a Wasm target object writer.

Protected Member Functions

Name

Description

MCWasmObjectTargetWriter [constructor]

Construct a Wasm target object writer.

getContext

Get the MC context associated with the assembler.

reportError

Report an error at L with message Msg via the assembler context.

Protected Data Members

Name

Description

Asm

Assembler that owns this target writer, or null if unset.

Created with MrDocs