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

Oliver Stannard via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 19 02:34:53 PST 2024


================
@@ -793,20 +793,23 @@ void ARMTargetELFStreamer::switchVendor(StringRef Vendor) {
 
 void ARMTargetELFStreamer::emitAttribute(unsigned Attribute, unsigned Value) {
   getStreamer().setAttributeItem(Attribute, Value,
-                                 /* OverwriteExisting= */ true);
+                                 /* OverwriteExisting= */ true,
+                                 getStreamer().Contents);
----------------
ostannard wrote:

Now that you've added the concept of the "active subsection", is this still needed, or could this be changed back to always emit into the active subsection?

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


More information about the cfe-commits mailing list