[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
This commit is contained in:
Anna Zaks 2016-09-15 21:15:06 +00:00
parent 8835e9076c
commit 8cea92b972
1 changed files with 2 additions and 0 deletions

View 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);