From 8cea92b972f9c20dd2e0a588eda812706fbd445f Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Thu, 15 Sep 2016 21:15:06 +0000 Subject: [PATCH] [sanitizer] Fixup: Do not introduce __sanitizer namespace globally Use the namespace in asan_win_dll_thunk.cc to fix the Windows bot. llvm-svn: 281659 --- compiler-rt/lib/asan/asan_win_dll_thunk.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/lib/asan/asan_win_dll_thunk.cc b/compiler-rt/lib/asan/asan_win_dll_thunk.cc index 2134009..4b3f6d9 100644 --- a/compiler-rt/lib/asan/asan_win_dll_thunk.cc +++ b/compiler-rt/lib/asan/asan_win_dll_thunk.cc @@ -30,6 +30,8 @@ void *__stdcall GetProcAddress(void *module, const char *proc_name); void abort(); } +using namespace __sanitizer; + static uptr getRealProcAddressOrDie(const char *name) { uptr ret = __interception::InternalGetProcAddress((void *)GetModuleHandleA(0), name); -- 2.7.4