[llvm] [yaml2obj][obj2yaml][objdump] Handle MIPS COFF files (PR #112591)

Hervé Poussineau via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 13:47:47 PDT 2024


================
@@ -343,6 +343,98 @@
 # COFF-ARM64-NEXT:     ComplexType: IMAGE_SYM_DTYPE_NULL
 # COFF-ARM64-NEXT:     StorageClass: IMAGE_SYM_CLASS_EXTERNAL
 
+# RUN: obj2yaml %p/Inputs/trivial-object-test.coff-mips | FileCheck %s --check-prefix COFF-MIPS
----------------
hpoussin wrote:

Ok, I'm adding test/tools/yaml2obj/COFF/basic-mips.yaml using the model basic-arm64.yaml.
I'm not adding it in the directory test/tools/obj2yaml/COFF, as tests here are not architecture-specific.

And indeed, nothing is special about MIPS COFF, except machine and relocation types.

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


More information about the llvm-commits mailing list