[sanitizer] add CombinedAllocator::InitIfLinkerInitialized and use it in lsan: speeds...
authorKostya Serebryany <kcc@google.com>
Wed, 17 Dec 2014 23:06:36 +0000 (23:06 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 17 Dec 2014 23:06:36 +0000 (23:06 +0000)
commit20f3a52249b8cb46beafb00972d9fab1b88eb2b5
tree74cf412e6ebb6f210cd8b416b3b8fe7f1a8b14f5
parentc9d1c27d48eb2a62a4018b97b39d3e85edfef62d
[sanitizer] add CombinedAllocator::InitIfLinkerInitialized and use it in lsan: speeds up lsan start-up time by ~25%

llvm-svn: 224469
compiler-rt/lib/lsan/lsan_allocator.cc
compiler-rt/lib/sanitizer_common/sanitizer_allocator.h