[compiler-rt] r185345 - [ASan] try to fix Windows build
Alexey Samsonov
samsonov at google.com
Mon Jul 1 09:38:38 PDT 2013
Author: samsonov
Date: Mon Jul 1 11:38:38 2013
New Revision: 185345
URL: http://llvm.org/viewvc/llvm-project?rev=185345&view=rev
Log:
[ASan] try to fix Windows build
Modified:
compiler-rt/trunk/lib/asan/asan_interceptors.cc
Modified: compiler-rt/trunk/lib/asan/asan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors.cc?rev=185345&r1=185344&r2=185345&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_interceptors.cc Mon Jul 1 11:38:38 2013
@@ -661,7 +661,7 @@ INTERCEPTOR(int, __cxa_atexit, void (*fu
INTERCEPTOR_WINAPI(DWORD, CreateThread,
void* security, uptr stack_size,
DWORD (__stdcall *start_routine)(void*), void* arg,
- DWORD flags, void* tid) {
+ DWORD thr_flags, void* tid) {
// Strict init-order checking in thread-hostile.
if (flags()->strict_init_order)
StopInitOrderChecking();
@@ -672,7 +672,7 @@ INTERCEPTOR_WINAPI(DWORD, CreateThread,
bool detached = false; // FIXME: how can we determine it on Windows?
asanThreadRegistry().CreateThread(*(uptr*)t, detached, current_tid, &args);
return REAL(CreateThread)(security, stack_size,
- asan_thread_start, t, flags, tid);
+ asan_thread_start, t, thr_flags, tid);
}
namespace __asan {
More information about the llvm-commits
mailing list