[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,13 @@
+# RUN: yaml2obj %s -o %t
+# RUN: llvm-readobj -h %t | FileCheck %s -DFLAG_VALUE=0x0
+
+--- !ELF
+FileHeader:
+  Class:           ELFCLASS32
+  Data:            ELFDATA2MSB
+  Type:            ET_REL
+  Machine:         EM_SPARC
+
+# CHECK:          Flags [ ([[FLAG_VALUE]])
+# CHECK-NEXT:     ]
+
----------------
jh7370 wrote:

Nit: looks like you have an extra blank line at EOF.

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


More information about the llvm-commits mailing list