================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits