[ASAN] Use ThreadArgRetval in ASAN
authorVitaly Buka <vitalybuka@google.com>
Mon, 8 May 2023 07:50:26 +0000 (00:50 -0700)
committerVitaly Buka <vitalybuka@google.com>
Thu, 11 May 2023 22:51:40 +0000 (15:51 -0700)
commit1030bd181eb74b67b7ea51631ce4becca410c406
tree311c2580169b573a512ba02d5e4ca5be8e75d0a8
parent2c2a15dd97fe33a22339526a5389910eae16d7af
[ASAN] Use ThreadArgRetval in ASAN

Fixes false leaks on thread retval.

Reviewed By: thurston

Differential Revision: https://reviews.llvm.org/D150106
compiler-rt/lib/asan/asan_interceptors.cpp
compiler-rt/lib/asan/asan_thread.cpp
compiler-rt/lib/asan/asan_thread.h
compiler-rt/lib/sanitizer_common/sanitizer_thread_arg_retval.cpp
compiler-rt/lib/sanitizer_common/sanitizer_thread_arg_retval.h
compiler-rt/test/lsan/TestCases/create_thread_leak.cpp