[ASan] Refactoring: nuke the redundant function declarations in asan_intercepted_func...
authorAlexander Potapenko <glider@google.com>
Thu, 21 Feb 2013 14:41:16 +0000 (14:41 +0000)
committerAlexander Potapenko <glider@google.com>
Thu, 21 Feb 2013 14:41:16 +0000 (14:41 +0000)
commite8ba1c851a8f3f3397422dd49e4554e017f0eb8f
tree3627d62ae6bc15715b4c89167dc2e1336ebc0201
parent49498dac9d85f06db7beb7ef76a1cde12ed7d091
[ASan] Refactoring: nuke the redundant function declarations in asan_intercepted_functions.h
that had been used on OS X only.
The INTERCEPTOR() macro on OS X is now responsible for declaring the wrapped function, the wrapper and the
pair of pointers to them in __DATA,__interposition section. Thus adding an interceptor requires editing a single file now.

llvm-svn: 175740
compiler-rt/lib/asan/asan_intercepted_functions.h
compiler-rt/lib/asan/asan_interceptors.cc
compiler-rt/lib/asan/asan_mac.cc
compiler-rt/lib/interception/interception.h