[PATCH] D57963: Fix Die() after pthread_exit call on macOS

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 8 12:43:44 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT353561: Fix Die() after pthread_exit call on macOS (authored by vitalybuka, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D57963?vs=185999&id=186032#toc

Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57963/new/

https://reviews.llvm.org/D57963

Files:
  lib/tsan/rtl/tsan_interceptors.cc


Index: lib/tsan/rtl/tsan_interceptors.cc
===================================================================
--- lib/tsan/rtl/tsan_interceptors.cc
+++ lib/tsan/rtl/tsan_interceptors.cc
@@ -1051,6 +1051,9 @@
 }
 
 TSAN_INTERCEPTOR(void, pthread_exit, void *retval) {
+  {
+    SCOPED_INTERCEPTOR_RAW(pthread_exit, retval);
+  }
   REAL(pthread_exit)(retval);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57963.186032.patch
Type: text/x-patch
Size: 363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190208/965ab3a5/attachment.bin>


More information about the llvm-commits mailing list