[all-commits] [llvm/llvm-project] e6cb55: [lld/mac] Test zerofill sections after __thread_bss

Nico Weber via All-commits all-commits at lists.llvm.org
Sun Jun 20 17:45:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6cb55d5ceb8e3f623814779ba4fc0c1e003e9fa
      https://github.com/llvm/llvm-project/commit/e6cb55d5ceb8e3f623814779ba4fc0c1e003e9fa
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-06-20 (Sun, 20 Jun 2021)

  Changed paths:
    M lld/MachO/OutputSegment.cpp
    M lld/test/MachO/tlv-dylib.s

  Log Message:
  -----------
  [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




More information about the All-commits mailing list