llvm::machineToStr

Return a user-readable string for a COFF machine type.

Synopsis

Declared in <llvm/Object/WindowsMachineFlag.h>

StringRef
machineToStr(COFF::MachineTypes MT);

Description

Supported values are ARMNT, ARM64, AMD64, and I386. Other MachineTypes values must not be passed in.

Return Value

A string naming the machine type (e.g. "x64", "x86", "arm", "arm64").

Parameters

NameDescription
MTCOFF machine type to convert.