LLVM  12.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
Collaboration diagram for llvm::MCWasmObjectTargetWriter:
Collaboration graph

Public Member Functions

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

Static Public Member Functions

static bool classof (const MCObjectTargetWriter *W)

Protected Member Functions

 MCWasmObjectTargetWriter (bool Is64Bit_, bool IsEmscripten)

Detailed Description

Definition at line 21 of file MCWasmObjectWriter.h.

Constructor & Destructor Documentation

◆ MCWasmObjectTargetWriter()

MCWasmObjectTargetWriter::MCWasmObjectTargetWriter ( bool  Is64Bit_,
bool  IsEmscripten 

Definition at line 13 of file MCWasmObjectTargetWriter.cpp.

References ~MCWasmObjectTargetWriter().

◆ ~MCWasmObjectTargetWriter()

MCWasmObjectTargetWriter::~MCWasmObjectTargetWriter ( )

Member Function Documentation

◆ classof()

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

◆ getFormat()

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

Implements llvm::MCObjectTargetWriter.

Definition at line 31 of file MCWasmObjectWriter.h.

References llvm::Triple::Wasm.

◆ getRelocType()

virtual unsigned llvm::MCWasmObjectTargetWriter::getRelocType ( const MCValue Target,
const MCFixup Fixup 
) const
pure virtual

Referenced by classof().

◆ is64Bit()

bool llvm::MCWasmObjectTargetWriter::is64Bit ( ) const

Definition at line 41 of file MCWasmObjectWriter.h.

◆ isEmscripten()

bool llvm::MCWasmObjectTargetWriter::isEmscripten ( ) const

Definition at line 42 of file MCWasmObjectWriter.h.

References llvm::createWasmObjectWriter().

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