[all-commits] [llvm/llvm-project] 92f8a6: [lld/mac] Fix --start-lib/--end-lib with split thi...

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Dec 5 07:51:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92f8a6eba7e87f0073a1aaf36250434152053b37
      https://github.com/llvm/llvm-project/commit/92f8a6eba7e87f0073a1aaf36250434152053b37
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libc++abi.tbd
    A lld/test/MachO/thinlto-split-unit-start-lib.ll

  Log Message:
  -----------
  [lld/mac] Fix --start-lib/--end-lib with split thinlto inputs

Fixes #59162. The test has a comment explaining what's going on.
See also Symbol::extract() in lld/ELF/Symbols.cpp.

The included test sadly also passes if I pass just bd448f01a62,
while doing that isn't enough to make my bigger repro case work
(if I port just that, something else asserts later on, but with
this fix here everything's fine in my bigger repro).

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




More information about the All-commits mailing list