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.)
Paths
| Differential D102139
[lld/mac] Fix alignment on subsections ClosedPublic Authored by thakis on May 9 2021, 3:41 PM.
Details
Summary On a section with alignment of 16, subsections aligned to 16-byte Fixes PR50274. (The same bug could have happened with -order_file
Diff Detail
Event TimelineComment Actions (Doesn't affect our output for the example in https://reviews.llvm.org/D79926#2043025 fwiw.) Comment Actions Nice catch!
This revision is now accepted and ready to land.May 9 2021, 4:56 PM Closed by commit rG7f673fcaa9a2: [lld/mac] Fix alignment on subsections (authored by thakis). · Explain WhyMay 9 2021, 6:02 PM This revision was automatically updated to reflect the committed changes. thakis marked an inline comment as done.
Revision Contents
Diff 343947 lld/MachO/InputFiles.cpp
lld/test/MachO/weak-definition-gc.s
|
nit: the "....3333""""...." doesn't seem very useful to include