[clang] [lld] [llvm] [clang][MIPS] Add support for mipsel-windows-* targets (PR #107744)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 02:06:03 PDT 2024


================
@@ -45,6 +47,8 @@ StringRef llvm::machineToStr(COFF::MachineTypes MT) {
     return "x64";
   case COFF::IMAGE_FILE_MACHINE_I386:
     return "x86";
+  case COFF::IMAGE_FILE_MACHINE_R4000:
+    return "mipsel";
----------------
mstorsjo wrote:

This seems wrong - this should return the canonical name for the `/machine:` flag for this machine type, which I presume is `mips`.

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


More information about the llvm-commits mailing list