[compiler-rt] [sanitizer] Fix asserts in asan and tsan in pthread interceptors. (PR #75394)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 05:56:02 PST 2023


================
@@ -4,10 +4,15 @@
 // FIXME: Crashes on some bots in pthread_exit.
 // RUN: %run %t %if tsan %{ 0 %} %else %{ 1 %}
 
+// Check interceptors' return codes are the same without sanitizers.
----------------
goussepi wrote:

I meant it as a sanity check to double check the interceptors returns the same error code as the intercepted functions.
Not strictly required so happy to remove.

https://github.com/llvm/llvm-project/pull/75394


More information about the llvm-commits mailing list