[compiler-rt] 2af8621 - Fix typo in b9863430

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 15:24:21 PDT 2023


Author: Vitaly Buka
Date: 2023-07-25T15:24:09-07:00
New Revision: 2af86213a87e5cf1b24e5a3f3ea0ebdf7c3478d1

URL: https://github.com/llvm/llvm-project/commit/2af86213a87e5cf1b24e5a3f3ea0ebdf7c3478d1
DIFF: https://github.com/llvm/llvm-project/commit/2af86213a87e5cf1b24e5a3f3ea0ebdf7c3478d1.diff

LOG: Fix typo in b9863430

Added: 
    

Modified: 
    compiler-rt/lib/asan/asan_win.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/asan/asan_win.cpp b/compiler-rt/lib/asan/asan_win.cpp
index feb3a2dcd12a62..82661b1a7c87d8 100644
--- a/compiler-rt/lib/asan/asan_win.cpp
+++ b/compiler-rt/lib/asan/asan_win.cpp
@@ -136,7 +136,7 @@ static thread_return_t THREAD_CALLING_CONV asan_thread_start(void *arg) {
   SetCurrentThread(t);
   auto res = t->ThreadStart(GetTid());
   t->Destroy();  // POSIX calls this from TSD destructor.
-  return rest;
+  return res;
 }
 
 INTERCEPTOR_WINAPI(HANDLE, CreateThread, LPSECURITY_ATTRIBUTES security,


        


More information about the llvm-commits mailing list