forked from OSchip/llvm-project
[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:
parent
8835e9076c
commit
8cea92b972
|
@ -30,6 +30,8 @@ void *__stdcall GetProcAddress(void *module, const char *proc_name);
|
||||||
void abort();
|
void abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using namespace __sanitizer;
|
||||||
|
|
||||||
static uptr getRealProcAddressOrDie(const char *name) {
|
static uptr getRealProcAddressOrDie(const char *name) {
|
||||||
uptr ret =
|
uptr ret =
|
||||||
__interception::InternalGetProcAddress((void *)GetModuleHandleA(0), name);
|
__interception::InternalGetProcAddress((void *)GetModuleHandleA(0), name);
|
||||||
|
|
Loading…
Reference in New Issue