[all-commits] [llvm/llvm-project] 422544: [lld/mac] Add a test for -reexport_library + -dead...

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Jun 7 10:45:32 PDT 2021


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

  Changed paths:
    M lld/test/MachO/dead-strip-dylibs.s

  Log Message:
  -----------
  [lld/mac] Add a test for -reexport_library + -dead_strip_dylibs

Our behavior here already matched ld64, now we have a test for it.

(ld64 even strips the library here if you also pass -needed_library bar.dylib.
That seems wrong to me, and lld honors needed_library in that case.)

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




More information about the All-commits mailing list