[llvm] [SPARC][Utilities] Add names for SPARC ELF flags in LLVM binary utilities (PR #102843)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 08:44:35 PDT 2024


================
@@ -0,0 +1,29 @@
+# RUN: yaml2obj %s -o %t -DFLAG_NAME=""
----------------
jh7370 wrote:

Rather than split this into a separate test, I think it would be more normal to have these test cases in `sparc-elf-headers.test` too. You can use yaml2obj's --docnum option, if you can't sensibly share the YAML docs, although in this case, you could just parameterise the machine type via -D, like you do with the flag.

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


More information about the llvm-commits mailing list