[PATCH] D102139: [lld/mac] Fix alignment on subsections

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 9 15:41:14 PDT 2021


thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added a reviewer: int3.
Herald added a project: lld-macho.
thakis requested review of this revision.

On a section with alignment of 16, subsections aligned to 16-byte
boundaries should keep their 16-byte alignment.

Fixes PR50274. (The same bug could have happened with -order_file
previously.)


https://reviews.llvm.org/D102139

Files:
  lld/MachO/InputFiles.cpp
  lld/test/MachO/weak-definition-gc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102139.343936.patch
Type: text/x-patch
Size: 3357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210509/479c6a8f/attachment.bin>


More information about the llvm-commits mailing list