From: Anna Zaks Date: Thu, 15 Sep 2016 21:15:06 +0000 (+0000) Subject: [sanitizer] Fixup: Do not introduce __sanitizer namespace globally X-Git-Tag: llvmorg-4.0.0-rc1~9632 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8cea92b972f9c20dd2e0a588eda812706fbd445f;p=platform%2Fupstream%2Fllvm.git [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 --- 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);