[ASan] Fix broken Windows build due to 596d534ac3524052df210be8d3c01a33b2260a42.
authorDan Liew <dliew@apple.com>
Sat, 23 Jan 2021 17:09:06 +0000 (09:09 -0800)
committerDan Liew <dliew@apple.com>
Sat, 23 Jan 2021 17:09:06 +0000 (09:09 -0800)
In that change I forgot to update the call to
`AsanThread::ThreadStart()` in `asan_win.cpp`.

compiler-rt/lib/asan/asan_win.cpp

index 8044ae1..1577c83 100644 (file)
@@ -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,