aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-03-04 19:00:10 -0800
committerFangrui Song <i@maskray.me>2022-03-04 19:00:10 -0800
commita815424cc5df25d3e2dbdbc5fb3bf3f4dc927dff (patch)
treeaf8d228e11b80ee6a80cce341824c296e98d492e /llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
parentf456c3ae3f4182b23673929e8fe0aa18bcec4289 (diff)
downloadllvm-a815424cc5df25d3e2dbdbc5fb3bf3f4dc927dff.zip
llvm-a815424cc5df25d3e2dbdbc5fb3bf3f4dc927dff.tar.gz
llvm-a815424cc5df25d3e2dbdbc5fb3bf3f4dc927dff.tar.bz2
Reland D119909 [ELF] Parallelize initializeLocalSymbols
ObjFile::parse combines symbol initialization and resolution. Many tasks unrelated to symbol resolution can be postponed and parallelized. This patch extracts local symbol initialization and parallelizes it. Technically the new function initializeLocalSymbols can be merged into ObjFile::postParse, but functions like getSrcMsg may access the uninitialized (all nullptr) local part of InputFile::symbols. Linking chrome: 1.02x as fast with glibc malloc, 1.04x as fast with mimalloc Depends on f456c3ae3f4182b23673929e8fe0aa18bcec4289 and D119908 Reviewed By: ikudrin Differential Revision: https://reviews.llvm.org/D119909
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp')
0 files changed, 0 insertions, 0 deletions