summaryrefslogtreecommitdiff
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2023-05-08 16:18:32 -0700
committerVitaly Buka <vitalybuka@google.com>2023-05-11 15:20:02 -0700
commit68b76af8a48a49f20216941dc903cc5814f5b4ff (patch)
treed7962cba60dfbcb05b48125966a4a74c1f628187 /compiler-rt/test
parentf772dcbb5104bc83548e2454909f0a870dfadde5 (diff)
downloadllvm-68b76af8a48a49f20216941dc903cc5814f5b4ff.tar.gz
[HWSAN] Use ThreadArgRetval in HWSAN
Fixes false leaks on thread arg, retval. Reviewed By: Enna1 Differential Revision: https://reviews.llvm.org/D150166
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/lsan/TestCases/create_thread_leak.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
index 14acd1472bfd..10c377658e61 100644
--- a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
+++ b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp
@@ -6,9 +6,8 @@
// RUN: %run not %t 10 0 0 1 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK234
// FIXME: Remove "not". There is no leak.
-// False LEAK123 is broken for HWASAN.
-// False LEAK234 is broken for ASAN, HWASAN, LSAN.
-// RUN: %run %if asan %{ not %} %if hwasan %{ not %} %if lsan-standalone %{ not %} %t 10 0 0 0
+// False LEAK234 is broken for ASAN, LSAN.
+// RUN: %run %if asan %{ not %} %if lsan-standalone %{ not %} %t 10 0 0 0
#include <pthread.h>
#include <stdlib.h>