[lld] [llvm] [LLD][COFF] Add more `--time-trace` tags for ThinLTO linking (PR #156471)
Alexandre Ganea via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 3 05:56:07 PDT 2025
aganea wrote:
> Seems okay to me. I assuming that the overhead of these is basically zero when not running with --time-trace?
Yes, if `--time-trace` is disabled, it just adds an access to a global TLS: https://github.com/llvm/llvm-project/blob/d29dc18992c85c5ef20f5958f55ed1713c1e215c/llvm/lib/Support/TimeProfiler.cpp#L451
https://github.com/llvm/llvm-project/pull/156471
More information about the llvm-commits
mailing list