[lld/mac] Test zerofill sections after __thread_bss
authorNico Weber <thakis@chromium.org>
Sun, 20 Jun 2021 23:39:09 +0000 (19:39 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 21 Jun 2021 00:44:29 +0000 (20:44 -0400)
commite6cb55d5ceb8e3f623814779ba4fc0c1e003e9fa
treebd8c4f469d6afa76b34dbd3a08b6a4971aa7168e
parent62ed024c7407c9e5d2494b684e059e89e18bc7f3
[lld/mac] Test zerofill sections after __thread_bss

Real zerofill sections go after __thread_bss, since zerofill sections
must all be at the end of their segment and __thread_bss must be right
after __thread_data.

Works fine already, but wasn't tested as far as I can tell.

Also tweak comment about zerofill sections a bit.

No behavior change.

Differential Revision: https://reviews.llvm.org/D104609
lld/MachO/OutputSegment.cpp
lld/test/MachO/tlv-dylib.s