================ @@ -1132,6 +1132,8 @@ StringRef COFFObjectFile::getFileFormatName() const { return "COFF-ARM64EC"; case COFF::IMAGE_FILE_MACHINE_ARM64X: return "COFF-ARM64X"; + case COFF::IMAGE_FILE_MACHINE_R4000: + return "COFF-R4000"; ---------------- mstorsjo wrote:
Hmm, do we want to label this as `COFF-R4000`, or would just `COFF-MIPS` be more easily accessible? I see that there are a couple other `IMAGE_FILE_MACHINE_*` constants for MIPS variants - how relevant are they? If the R4000 is the only one that actually is being used, I'd almost go with labelling this just `COFF-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