diff options
author | Vitaly Buka <vitalybuka@google.com> | 2023-05-08 00:50:26 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2023-05-11 15:51:40 -0700 |
commit | 1030bd181eb74b67b7ea51631ce4becca410c406 (patch) | |
tree | 311c2580169b573a512ba02d5e4ca5be8e75d0a8 /compiler-rt/test | |
parent | 2c2a15dd97fe33a22339526a5389910eae16d7af (diff) | |
download | llvm-1030bd181eb74b67b7ea51631ce4becca410c406.tar.gz |
[ASAN] Use ThreadArgRetval in ASAN
Fixes false leaks on thread retval.
Reviewed By: thurston
Differential Revision: https://reviews.llvm.org/D150106
Diffstat (limited to 'compiler-rt/test')
-rw-r--r-- | compiler-rt/test/lsan/TestCases/create_thread_leak.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp index 10c377658e61..4074cd4e540e 100644 --- a/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp +++ b/compiler-rt/test/lsan/TestCases/create_thread_leak.cpp @@ -6,8 +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 LEAK234 is broken for ASAN, LSAN. -// RUN: %run %if asan %{ not %} %if lsan-standalone %{ not %} %t 10 0 0 0 +// False LEAK234 is broken for LSAN. +// RUN: %run %if lsan-standalone %{ not %} %t 10 0 0 0 #include <pthread.h> #include <stdlib.h> |