[all-commits] [llvm/llvm-project] 57ffbe: glld/mac] Don't add names of unreferenced symbols ...

Nico Weber via All-commits all-commits at lists.llvm.org
Tue Dec 22 13:02:53 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57ffbe020af6469b7c2fdb599f2f7e5e5d0322f0
      https://github.com/llvm/llvm-project/commit/57ffbe020af6469b7c2fdb599f2f7e5e5d0322f0
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-12-22 (Tue, 22 Dec 2020)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp
    M lld/test/MachO/symtab.s

  Log Message:
  -----------
  glld/mac] Don't add names of unreferenced symbols to string table

Before this, a hello world program would contain many many unnecessary
entries in its string table.

No behavior change, just makes the string table in the output smaller
and more like ld64's.

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




More information about the All-commits mailing list