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 D93318
[lld/mac] Set ordinal on dynamic undefined symbols in symbol table thakis on Dec 15 2020, 10:40 AM. Authored by
Details
This lets nm -m print "(from libfoo)" in its output, which is more See https://reviews.llvm.org/D57190#2455761 for the somewhat
Diff Detail
Event TimelineComment Actions lgtm
Comment Actions Thanks!
|
why not just pass nList->n_desc into SET_LIBRARY_ORDINAL? I suppose this is a bit more explicit about the fact that we're modifying n_desc, but I think it's already pretty obvious from the SET_ in the name...