[compiler-rt] [tsan][test] Move the linux specific TSan test to the linux subdirectory (PR #86896)

Nazım Can Altınova via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 18:00:41 PDT 2024


https://github.com/canova updated https://github.com/llvm/llvm-project/pull/86896

>From 0bce8058bc53cafd5d00a1574a77b62903941ebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= <canaltinova at gmail.com>
Date: Thu, 28 Mar 2024 01:45:22 +0100
Subject: [PATCH] Remove some unneded debug comments in a tsan test

---
 compiler-rt/test/tsan/Linux/signal_in_futex_wait.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/compiler-rt/test/tsan/Linux/signal_in_futex_wait.cpp b/compiler-rt/test/tsan/Linux/signal_in_futex_wait.cpp
index 34d058edd526a1..3c8804aae3d09c 100644
--- a/compiler-rt/test/tsan/Linux/signal_in_futex_wait.cpp
+++ b/compiler-rt/test/tsan/Linux/signal_in_futex_wait.cpp
@@ -57,16 +57,13 @@ class Mutex {
 Mutex mutex;
 
 void *Thread(void *x) {
-  // fprintf(stderr, "canova here thread 0\n");
   // Waiting for the futex.
   mutex.lock();
-  // fprintf(stderr, "canova here thread 1\n");
   // Finished waiting.
   return nullptr;
 }
 
 static void SigprofHandler(int signal, siginfo_t *info, void *context) {
-  // fprintf(stderr, "canova here sigprof handler\n");
   // Unlock the futex.
   mutex.unlock();
 }



More information about the llvm-commits mailing list