[ASan/Win] Don't apply dllexport to __asan_init in the DLL thunk
commitb680e8493d935c5694ddf106916d66810767030e
authorTimur Iskhodzhanov <timurrrr@google.com>
Fri, 11 Jul 2014 13:46:05 +0000 (11 13:46 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Fri, 11 Jul 2014 13:46:05 +0000 (11 13:46 +0000)
tree56ab311a0fdb7d2d0724de4c67d13ce8b4478409
parent734176b59fe6c2ed8507e990b3c4b2a893403913
[ASan/Win] Don't apply dllexport to __asan_init in the DLL thunk

This fixes '___asan_init_v4 already defined' errors when linking some of Chromium DLLs.
Looks like one of the DLL is using a .lib produced while linking another DLL and it exploded after r212699.
I'm trying to come up with a small testcase...

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212815 91177308-0d34-0410-b5e6-96231b3b80d8
lib/asan/CMakeLists.txt
lib/sanitizer_common/sanitizer_internal_defs.h