[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
Thu Aug 15 00:17:07 PDT 2024


================
@@ -699,11 +699,19 @@ enum {
 
 // SPARC Specific e_flags
 enum : unsigned {
+  // ELF extension mask.
+  // All values are available for EM_SPARC32PLUS & EM_SPARCV9 objects, except
+  // EF_SPARC_32PLUS which is a EM_SPARC32PLUS-only flag.
+  //
+  // Note that those features are not mutually exclusive (one can set more than
+  // one flag in this group).
----------------
jh7370 wrote:

Flags usually are not mutually exclusive, I feel, so I'd be more inclined to call out the case where the flags ARE mutually exclusive.

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


More information about the llvm-commits mailing list