From c2f0de06c9595f34afec7905bae41d08cb46f150 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 25 Nov 2021 18:54:05 +0100 Subject: [PATCH] tsan: check stack in atexit4.cpp test Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D114604 --- compiler-rt/test/tsan/atexit4.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler-rt/test/tsan/atexit4.cpp b/compiler-rt/test/tsan/atexit4.cpp index 893f7b4..325f24b 100644 --- a/compiler-rt/test/tsan/atexit4.cpp +++ b/compiler-rt/test/tsan/atexit4.cpp @@ -27,3 +27,8 @@ int main() { // CHECK: DONE // CHECK: WARNING: ThreadSanitizer: data race +// CHECK: Write of size 4 +// CHECK: #0 thread +// CHECK: Previous write of size 4 +// CHECK: #0 race +// CHECK: #1 at_exit_wrapper -- 2.7.4