diff options
author | Alexander Potapenko <glider@google.com> | 2012-08-15 12:23:36 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2012-08-15 12:23:36 +0000 |
commit | 37c4853762c6123a5fef0042d8f65193791b355c (patch) | |
tree | 1446376e705d7bd047e4802350aa9861dbf41d7b /lib/asan/asan_mac.cc | |
parent | ec3b0732a62bd0a52da7bbfc4e227038ccf9372c (diff) | |
download | compiler-rt-37c4853762c6123a5fef0042d8f65193791b355c.tar.gz compiler-rt-37c4853762c6123a5fef0042d8f65193791b355c.tar.bz2 compiler-rt-37c4853762c6123a5fef0042d8f65193791b355c.tar.xz |
Move the prototype of __CFInitialize to asan_mac.h so that asan_malloc_mac.cc may use it in the dynamic library mode.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_mac.cc')
-rw-r--r-- | lib/asan/asan_mac.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/asan/asan_mac.cc b/lib/asan/asan_mac.cc index a3d39e7a..bd44305b 100644 --- a/lib/asan/asan_mac.cc +++ b/lib/asan/asan_mac.cc @@ -404,8 +404,6 @@ INTERCEPTOR(CFStringRef, CFStringCreateCopy, CFAllocatorRef alloc, DECLARE_REAL_AND_INTERCEPTOR(void, free, void *ptr) -extern "C" -void __CFInitialize(); DECLARE_REAL_AND_INTERCEPTOR(void, __CFInitialize) namespace __asan { |