[all-commits] [llvm/llvm-project] 601f0f: [lld/mac] Set ordinal on dynamic undefined symbols...

Nico Weber via All-commits all-commits at lists.llvm.org
Tue Dec 15 11:41:07 PST 2020


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

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

  Log Message:
  -----------
  [lld/mac] Set ordinal on dynamic undefined symbols in symbol table

This lets `nm -m` print "(from libfoo)" in its output, which is more
accessible than dumping the bind table.

See https://reviews.llvm.org/D57190#2455761 for the somewhat
surprising `AltEntry` that appears in symtab.s.

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




More information about the All-commits mailing list