projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8835e90
)
[sanitizer] Fixup: Do not introduce __sanitizer namespace globally
author
Anna Zaks
<ganna@apple.com>
Thu, 15 Sep 2016 21:15:06 +0000
(21:15 +0000)
committer
Anna 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
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/asan_win_dll_thunk.cc
b/compiler-rt/lib/asan/asan_win_dll_thunk.cc
index 2134009f98544a4db4662710925f0a1ffddaf8ff..4b3f6d99a4ff2665b6aa14cdc0fe1745f65deb4e 100644
(file)
--- 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);