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

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 22:33:42 PST 2021


hoy added a comment.

In D96613#2560322 <https://reviews.llvm.org/D96613#2560322>, @MaskRay wrote:

> I created https://sourceware.org/bugzilla/show_bug.cgi?id=27407 asking for binutils opinions.

Thanks for gather's inputs from binutils. I'm curious about how they view this.

Regarding the throughput impact, I was seeing `--trace-all-symbols` slowed down the linker by 2x for a final executable around 60M unfortunately. Since it is a debug switch, I would imagine people whoever use this would be willing to pay for its cost.


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