[llvm] [llvm-lib] Handle MIPS architecture (PR #121007)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 22:01:24 PST 2024


================
@@ -28,6 +28,7 @@ COFF::MachineTypes llvm::getMachineType(StringRef S) {
       .Case("arm64", COFF::IMAGE_FILE_MACHINE_ARM64)
       .Case("arm64ec", COFF::IMAGE_FILE_MACHINE_ARM64EC)
       .Case("arm64x", COFF::IMAGE_FILE_MACHINE_ARM64X)
+      .Case("mips", COFF::IMAGE_FILE_MACHINE_R4000)
----------------
wzssyqa wrote:

Should it be `mipsel`?

https://github.com/llvm/llvm-project/pull/121007


More information about the llvm-commits mailing list