[compiler-rt] r281659 - [sanitizer] Fixup: Do not introduce __sanitizer namespace globally
Anna Zaks via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 15 14:15:06 PDT 2016
Author: zaks
Date: Thu Sep 15 16:15:06 2016
New Revision: 281659
URL: http://llvm.org/viewvc/llvm-project?rev=281659&view=rev
Log:
[sanitizer] Fixup: Do not introduce __sanitizer namespace globally
Use the namespace in asan_win_dll_thunk.cc to fix the Windows bot.
Modified:
compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc
Modified: compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc?rev=281659&r1=281658&r2=281659&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc Thu Sep 15 16:15:06 2016
@@ -30,6 +30,8 @@ void *__stdcall GetProcAddress(void *mod
void abort();
}
+using namespace __sanitizer;
+
static uptr getRealProcAddressOrDie(const char *name) {
uptr ret =
__interception::InternalGetProcAddress((void *)GetModuleHandleA(0), name);
More information about the llvm-commits
mailing list