[compiler-rt] r281820 - [tsan] Update signal_cond.cc to write to stderr intead of stdout
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 17 07:33:37 PDT 2016
Author: kuba.brecka
Date: Sat Sep 17 09:33:36 2016
New Revision: 281820
URL: http://llvm.org/viewvc/llvm-project?rev=281820&view=rev
Log:
[tsan] Update signal_cond.cc to write to stderr intead of stdout
Modified:
compiler-rt/trunk/test/tsan/signal_cond.cc
Modified: compiler-rt/trunk/test/tsan/signal_cond.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/signal_cond.cc?rev=281820&r1=281819&r2=281820&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/signal_cond.cc (original)
+++ compiler-rt/trunk/test/tsan/signal_cond.cc Sat Sep 17 09:33:36 2016
@@ -14,7 +14,7 @@ pthread_cond_t cond;
void sig_handler(int sig) {
(void)sig;
- write(1, "SIGNAL\n", sizeof("SIGNAL\n") - 1);
+ write(2, "SIGNAL\n", sizeof("SIGNAL\n") - 1);
barrier_wait(&barrier);
}
More information about the llvm-commits
mailing list