Base class for target‐specific per‐module object‐file information.

Synopsis

Declared in <llvm/CodeGen/MachineModuleInfo.h>

class MachineModuleInfoImpl;

Description

This class can be derived from and used by targets to hold private target‐specific information for each Module. Objects of type are accessed/created with MachineModuleInfo::getObjFileInfo and destroyed when the MachineModuleInfo is destroyed.

Type Aliases

Name

Description

ExprStubListTy

A variant of SymbolListTy where the stub is a generalized MCExpr.

StubValueTy

Pair of an MCSymbol and a one‐bit flag used as a stub value.

SymbolListTy

Sorted list of MCSymbol stubs paired with their StubValueTy.

Member Functions

Name

Description

~MachineModuleInfoImpl [destructor] [virtual]

Destroy this target‐specific module info object.

Protected Static Member Functions

Name

Description

getSortedExprStubs

Return the entries from a DenseMap in a deterministic sorted orer. Clears the map.

getSortedStubs

Return the entries from a DenseMap in a deterministic sorted orer. Clears the map.

Derived Classes

Name

Description

MachineModuleInfoCOFF

MachineModuleInfoCOFF ‐ This is a MachineModuleInfoImpl implementation for COFF targets.

MachineModuleInfoELF

MachineModuleInfoELF ‐ This is a MachineModuleInfoImpl implementation for ELF targets.

MachineModuleInfoMachO

MachineModuleInfoMachO ‐ This is a MachineModuleInfoImpl implementation for MachO targets.

MachineModuleInfoWasm

MachineModuleInfoWasm ‐ This is a MachineModuleInfoImpl implementation for Wasm targets.

Created with MrDocs