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

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 07:45:28 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),
----------------
sivan-shani wrote:

Yes, that is a good idea.
Changing the relevant locations.

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


More information about the llvm-commits mailing list