[all-commits] [llvm/llvm-project] 1b4436: [lld-macho] Unreferenced weak dylib symbols should...

Jez Ng via All-commits all-commits at lists.llvm.org
Sun Dec 5 12:12:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b44364714981017302f182583a43fda4d28e0eb
      https://github.com/llvm/llvm-project/commit/1b44364714981017302f182583a43fda4d28e0eb
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-12-05 (Sun, 05 Dec 2021)

  Changed paths:
    M lld/MachO/SymbolTable.cpp
    M lld/test/MachO/weak-definition-direct-fetch.s

  Log Message:
  -----------
  [lld-macho] Unreferenced weak dylib symbols shouldn't fetch archive symbols

We were fetching archive symbols too eagerly, bloating binary size as well as
just screwing up binaries that expected to look up certain symbols only at
runtime.

Reviewed By: #lld-macho, oontvoo

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




More information about the All-commits mailing list