[llvm] [LLVM][Clang][AArch64] Implement AArch64 build attributes (PR #118771)

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 04:36:20 PST 2024


================
@@ -107,25 +108,51 @@ class MCELFStreamer : public MCObjectStreamer {
     std::string StringValue;
   };
 
+  /// ELF object attributes subsection support
+  struct AttributeSubSection {
+    // [<uint32: subsection-length> NTBS: vendor-name <bytes: vendor-data>]*
+    StringRef Vendor;
+    // <uint8: optional> <uint8: parameter type> <attribute>*
+    unsigned IsMandatory; // SubsectionMandatory::REQUIRED (0),
----------------
ostannard wrote:

You have added enums for these in ARMBuildAttributes.h, should they be used here?

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


More information about the llvm-commits mailing list