Really fix the Windows sanitizer build
authorReid Kleckner <rnk@google.com>
Thu, 15 Sep 2016 15:39:52 +0000 (15:39 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 15 Sep 2016 15:39:52 +0000 (15:39 +0000)
commit389c7f91425bb0991663b879a79a7825d57061bb
tree3cd1d67af8f60b8a36e763251244b4a9b9e0602a
parent52e4743e243f95d06306b189580a463d7a9360a7
Really fix the Windows sanitizer build

Don't list __sanitizer_print_memory profile as an INTERFACE_FUNCTION. It
is not exported by ASan; it is exported by user code.

Move the weak definition from asan_win.cc to sanitizer_win.cc to fix the
ubsan tests.

llvm-svn: 281619
compiler-rt/lib/asan/asan_win.cc
compiler-rt/lib/asan/asan_win_dll_thunk.cc
compiler-rt/lib/sanitizer_common/sanitizer_win.cc