[compiler-rt] b4b9786 - [LSAN] Disable leak_check_before_thread_started for hwasan

Kirill Stoimenov via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 16:49:07 PST 2023


Author: Kirill Stoimenov
Date: 2023-01-28T00:48:49Z
New Revision: b4b9786f4ac4cb2d9b6e7c3ce221b06d21d6ab06

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

LOG: [LSAN] Disable leak_check_before_thread_started for hwasan

Added: 
    

Modified: 
    compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp b/compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp
index 94084dcb50f54..68eea93a81e57 100644
--- a/compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp
+++ b/compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp
@@ -2,6 +2,10 @@
 // This test relies on timing between threads, so any failures will be flaky.
 // RUN: %clangxx_lsan %s -o %t
 // RUN: %env_lsan_opts="log_pointers=1:log_threads=1" %run %t
+
+// Fixme: remove once test passes with hwasan
+// UNSUPPORTED: hwasan
+
 #include <assert.h>
 #include <pthread.h>
 #include <stdio.h>


        


More information about the llvm-commits mailing list