ASan: change the strategy we use for installing malloc/free/symbolization hooks on...
authorAlexey Samsonov <samsonov@google.com>
Fri, 7 Dec 2012 22:01:28 +0000 (22:01 +0000)
committerAlexey Samsonov <samsonov@google.com>
Fri, 7 Dec 2012 22:01:28 +0000 (22:01 +0000)
commita0e4706fe6561e39a7a2fb4929553fa364feae25
tree67349bd6c75ef74aa8682ee86f751a3fd5d7fce7
parent9cadaa7ef8f922c5e3a96208852d4e6c1c1e4f4b
ASan: change the strategy we use for installing malloc/free/symbolization hooks on Linux: don't provide a default no-op implementations for hooks in runtime, and optionally call hooks if they are provided by the user. Don't force weak interface functions into runtime.

llvm-svn: 169641
compiler-rt/include/sanitizer/asan_interface.h
compiler-rt/include/sanitizer/common_interface_defs.h
compiler-rt/lib/asan/asan_allocator.cc
compiler-rt/lib/asan/asan_internal.h
compiler-rt/lib/asan/asan_report.cc
compiler-rt/lib/asan/asan_rtl.cc
compiler-rt/lib/asan/asan_stack.cc
compiler-rt/lib/asan/lit_tests/interface_symbols.c