[PATCH] D116263: [lld-macho] Fix alignment of TLV data sections

Mike Hommey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 24 00:06:14 PST 2021


glandium added inline comments.


================
Comment at: lld/test/MachO/tlv.s:124-127
+_hoge:
+  .quad  __tlv_bootstrap
+  .quad  0
+  .quad  _hoge$tlv$init
----------------
Note that this doesn't cause a problem at an alignment of 16 unless `__thread_vars` has an odd number of entries, which makes (otherwise `__thread_data` is accidentally aligned to 16)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116263



More information about the llvm-commits mailing list