llvm::getMachineArchType

Map a COFF machine type to a Triple architecture.

Synopsis

Declared in <llvm/Object/WindowsMachineFlag.h>

template<typename T>
Triple::ArchType
getMachineArchType(T machine);

Return Value

The corresponding Triple architecture, or UnknownArch if the machine type is not recognized.

Parameters

NameDescription
machineCOFF machine type value (typically a MachineTypes enumerator).