Target‐specific Win COFF object‐file writer hooks.

Synopsis

Declared in <llvm/MC/MCWinCOFFObjectWriter.h>

class MCWinCOFFObjectTargetWriter
    : 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

~MCWinCOFFObjectTargetWriter [destructor] [virtual]

Destroy the Win COFF target object writer.

getFormat [virtual]

Return the object file format handled by this writer.

getMachine

Return the COFF machine type for this writer.

getRelocType [virtual]

Return the COFF relocation type for Fixup applied to Target.

recordRelocation [virtual]

Return true if Fixup should be recorded as a COFF relocation.

setAssembler

Set the assembler associated with this target writer.

Static Member Functions

Name

Description

classof

Return true if W is a Win COFF target object writer.

Protected Member Functions

Name

Description

MCWinCOFFObjectTargetWriter [constructor]

Construct a Win COFF 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