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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 00:04:58 PDT 2024


================
@@ -699,11 +699,22 @@ 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 (i.e
+  // one can set more than one flag in this group), so
+  // do not use the mask in LLVM's BCaseMask, printFlags,
----------------
s-barannikov wrote:

This is a public header, it shouldn't contain implementation notes.


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


More information about the llvm-commits mailing list