Improve check for ASAN callbacks
authorTamas Berghammer <tberghammer@google.com>
Wed, 12 Aug 2015 11:13:11 +0000 (11:13 +0000)
committerTamas Berghammer <tberghammer@google.com>
Wed, 12 Aug 2015 11:13:11 +0000 (11:13 +0000)
commit94f2bb55351621fee2d7caa8a5233e564e3a58ff
tree0f561a55a2e7fc7ffb41449db7e551fc9fcb0321
parentec3f92a5e26d5c72820c81a10eda51e4a83cb3c0
Improve check for ASAN callbacks

The ASAN callbacks are public symbols so we can search for them
with reading only the symbol table (not the debug info). Whit this
change the attach time for big executables with debug symbols
decreased by a factor of ~4.

Differential revision: http://reviews.llvm.org/D11384

llvm-svn: 244739
lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp
lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp