[PATCH] D116528: [ELF] Handle .init_array prefix consistently

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 3 13:56:10 PST 2022


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: llvm/test/CodeGen/X86/attribute-sections.ll:10
+; CHECK:  .section  .init_array,"aw", at init_array
+; CHECK:  .globl init_array1
+; CHECK:  .section  .init_array.00001,"aw", at init_array
----------------
`.globl` can appear anywhere. The position of label definition is what matters.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116528/new/

https://reviews.llvm.org/D116528



More information about the llvm-commits mailing list