[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 12 09:38:23 PST 2021


MaskRay added a comment.

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



================
Comment at: lld/ELF/Symbols.h:535
+bool Symbol::needToTraceSymbol() {
+  return traced || config->traceAllSymbols ||
+         (this->file != nullptr &&
----------------
Can you measure how much slowdown this will cause?


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