Index: COFF/Config.h =================================================================== --- COFF/Config.h +++ COFF/Config.h @@ -33,6 +33,7 @@ static const auto AMD64 = llvm::COFF::IMAGE_FILE_MACHINE_AMD64; static const auto ARMNT = llvm::COFF::IMAGE_FILE_MACHINE_ARMNT; static const auto I386 = llvm::COFF::IMAGE_FILE_MACHINE_I386; +static const auto ARM64 = llvm::COFF::IMAGE_FILE_MACHINE_ARM64; // Represents an /export option. struct Export { @@ -73,7 +74,7 @@ // Global configuration. struct Configuration { enum ManifestKind { SideBySide, Embed, No }; - bool is64() { return Machine == AMD64; } + bool is64() { return Machine == AMD64 || Machine == ARM64; } llvm::COFF::MachineTypes Machine = IMAGE_FILE_MACHINE_UNKNOWN; bool Verbose = false;