aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/Formatters.cpp
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-07-17 23:03:03 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-07-17 23:03:03 +0000
commit7096b08cd76fde000873f4ed936f358afb79176e (patch)
tree2dc3796ad770122ec22b37577756fd40635444d3 /llvm/lib/DebugInfo/CodeView/Formatters.cpp
parent4a8f16ec9d09d46a44b0aefcccc0c7c3822c863e (diff)
downloadllvm-7096b08cd76fde000873f4ed936f358afb79176e.zip
llvm-7096b08cd76fde000873f4ed936f358afb79176e.tar.gz
llvm-7096b08cd76fde000873f4ed936f358afb79176e.tar.bz2
Only scan global sections containing data in LSan on darwin
Summary: __DATA segments on Darwin contain a large number of separate sections, most of which cannot actually contain pointers, and contain const values or objc metadata. Only scanning sections which can contain pointers greatly improves performance. On a medium-sized (~4000 files) internal project, I saw a speedup of about 50% in standalone LSan's execution time (50% improvement in the time spent running LSan, not the total program time). Reviewers: kcc, kubamracek, alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D35432 llvm-svn: 308231
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/Formatters.cpp')
0 files changed, 0 insertions, 0 deletions