[PATCH] D96613: [lld] Add options to trace all symbols and to trace all symbols originated from a file

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 12:24:39 PST 2021


MaskRay added a comment.

I edited my previous comment to include a bit more information.

For discoverability, if people know that `--trace-symbol`, re-inventing this mechanism is simple. `nm` (llvm-nm) is well-known utility to retrieve the symbol table. Composing nm and ld.lld together is straightforward.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96613/new/

https://reviews.llvm.org/D96613



More information about the llvm-commits mailing list