Skip to content

Commit 91b8c42

Browse files
committed
[llvm-lib] Explain why 'mips' name has been chosen
1 parent 3f7c503 commit 91b8c42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Object/WindowsMachineFlag.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ using namespace llvm;
2121

2222
// Returns /machine's value.
2323
COFF::MachineTypes llvm::getMachineType(StringRef S) {
24+
// Flags must be a superset of Microsoft lib.exe /machine flags.
2425
return StringSwitch<COFF::MachineTypes>(S.lower())
2526
.Cases("x64", "amd64", COFF::IMAGE_FILE_MACHINE_AMD64)
2627
.Cases("x86", "i386", COFF::IMAGE_FILE_MACHINE_I386)

0 commit comments

Comments
 (0)