[sanitizer] Fixup: Do not introduce __sanitizer namespace globally
authorAnna Zaks <ganna@apple.com>
Thu, 15 Sep 2016 21:15:06 +0000 (21:15 +0000)
committerAnna Zaks <ganna@apple.com>
Thu, 15 Sep 2016 21:15:06 +0000 (21:15 +0000)
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

index 2134009..4b3f6d9 100644 (file)
@@ -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);