[compiler-rt] cc98ffb - [tsan][test] Remove some unneded debug comments in a tsan test (#86896)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 27 18:09:24 PDT 2024
Author: Nazım Can Altınova
Date: 2024-03-27T18:09:20-07:00
New Revision: cc98ffb6dc6ca3e68fd939558eb8c4ddb1cc03de
URL: https://github.com/llvm/llvm-project/commit/cc98ffb6dc6ca3e68fd939558eb8c4ddb1cc03de
DIFF: https://github.com/llvm/llvm-project/commit/cc98ffb6dc6ca3e68fd939558eb8c4ddb1cc03de.diff
LOG: [tsan][test] Remove some unneded debug comments in a tsan test (#86896)
I introduced this test in #86537, let's remove some unneeded debugging
comments.
This PR was initially also moving the test to linux directory but looks
like it's already done by 17ab9e64464f989b3fe4a304a450581a618097a0 .
Added:
Modified:
compiler-rt/test/tsan/Linux/signal_in_futex_wait.cpp
Removed:
################################################################################
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