[ASan] Only define macros in asan_init_version.h, move the __asan_init declaration...
authorTimur Iskhodzhanov <timurrrr@google.com>
Tue, 15 Jul 2014 08:16:04 +0000 (08:16 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Tue, 15 Jul 2014 08:16:04 +0000 (08:16 +0000)
commit9e4580c8ee94d3763542e100669c5b9e7cec1da5
treea3952f929925a3bed79a78e4070805adae0eb0ed
parentd4d9944416692c31e9019e622203f2ee9e374c3e
[ASan] Only define macros in asan_init_version.h, move the __asan_init declaration back to asan_interface_internal.h

This fixes the issues we've uncovered after landing r212815.

Reviewed at http://reviews.llvm.org/D4500

llvm-svn: 213053
compiler-rt/lib/asan/CMakeLists.txt
compiler-rt/lib/asan/asan_init_version.h
compiler-rt/lib/asan/asan_interface_internal.h
compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.c
compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.c