From 757b93bb7b384038a8dec35433f78f5c7c2ef8b0 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Sat, 23 Jan 2021 09:09:06 -0800 Subject: [PATCH] [ASan] Fix broken Windows build due to 596d534ac3524052df210be8d3c01a33b2260a42. In that change I forgot to update the call to `AsanThread::ThreadStart()` in `asan_win.cpp`. --- compiler-rt/lib/asan/asan_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/asan_win.cpp b/compiler-rt/lib/asan/asan_win.cpp index 8044ae16ff9b..1577c83cf994 100644 --- a/compiler-rt/lib/asan/asan_win.cpp +++ b/compiler-rt/lib/asan/asan_win.cpp @@ -134,7 +134,7 @@ INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { static thread_return_t THREAD_CALLING_CONV asan_thread_start(void *arg) { AsanThread *t = (AsanThread *)arg; SetCurrentThread(t); - return t->ThreadStart(GetTid(), /* signal_thread_is_registered */ nullptr); + return t->ThreadStart(GetTid()); } INTERCEPTOR_WINAPI(HANDLE, CreateThread, LPSECURITY_ATTRIBUTES security,