We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f7c503 commit 91b8c42Copy full SHA for 91b8c42
llvm/lib/Object/WindowsMachineFlag.cpp
@@ -21,6 +21,7 @@ using namespace llvm;
21
22
// Returns /machine's value.
23
COFF::MachineTypes llvm::getMachineType(StringRef S) {
24
+ // Flags must be a superset of Microsoft lib.exe /machine flags.
25
return StringSwitch<COFF::MachineTypes>(S.lower())
26
.Cases("x64", "amd64", COFF::IMAGE_FILE_MACHINE_AMD64)
27
.Cases("x86", "i386", COFF::IMAGE_FILE_MACHINE_I386)
0 commit comments