Go to file
Francis Ricci 7096b08cd7 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
2017-07-17 23:03:03 +00:00
clang [COFF, ARM64] Set the data type widths and the data layout string 2017-07-17 21:10:45 +00:00
clang-tools-extra [NFC] Update function call names as changed in MacroInfo that should refer to Parameters (as opposed to Arguments). 2017-07-17 17:20:57 +00:00
compiler-rt Only scan global sections containing data in LSan on darwin 2017-07-17 23:03:03 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Check for _MSC_VER before defining _LIBCPP_MSVCRT 2017-07-17 21:52:31 +00:00
libcxxabi [demangler] Respect try_to_parse_template_args 2017-07-13 19:37:37 +00:00
libunwind [libunwind][CMake] Add install path variable to allow overriding the destination 2017-07-11 01:12:09 +00:00
lld Fix tests for .ctors/.dtors. 2017-07-17 20:42:52 +00:00
lldb Fixing LLDB build after refactoring of clang's MacroInfo 2017-07-17 20:50:21 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm Adding temporary debugging info to llvm-mt to solve fedora failure. 2017-07-17 22:46:10 +00:00
openmp Removed "duplicates" from verbose affinity output 2017-07-17 17:06:43 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] Avoid use of `getStmtFor(BB)` in PolyhedralInfo. NFC 2017-07-17 20:58:13 +00:00