[ASan Win] Manually call __asan_init early in the DLL initialization process to avoid...
commit5e5ddf7eff7a0fa554b1ed323cfee08b23f41817
authorTimur Iskhodzhanov <timurrrr@google.com>
Mon, 2 Jun 2014 14:40:07 +0000 (2 14:40 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Mon, 2 Jun 2014 14:40:07 +0000 (2 14:40 +0000)
tree84a58650e4111e46a8409a7c2525cd40fcd074de
parentfecabd25d70463aecd03ae91489b5545bce84897
[ASan Win] Manually call __asan_init early in the DLL initialization process to avoid a null function call in cout/cerr constructors

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210030 91177308-0d34-0410-b5e6-96231b3b80d8
lib/asan/asan_dll_thunk.cc
test/asan/TestCases/Windows/dll_cerr.cc [new file with mode: 0644]