[all-commits] [llvm/llvm-project] 7f673f: [lld/mac] Fix alignment on subsections

Nico Weber via All-commits all-commits at lists.llvm.org
Sun May 9 18:02:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f673fcaa9a2cb4600f244792f8521ff19aa806c
      https://github.com/llvm/llvm-project/commit/7f673fcaa9a2cb4600f244792f8521ff19aa806c
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-05-09 (Sun, 09 May 2021)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/test/MachO/weak-definition-gc.s

  Log Message:
  -----------
  [lld/mac] Fix alignment on subsections

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.)

Differential Revision: https://reviews.llvm.org/D102139




More information about the All-commits mailing list