[compiler-rt] r182089 - tsan: remove "printing report from signal handler. Can crash or hang" output
Dmitry Vyukov
dvyukov at google.com
Fri May 17 05:05:44 PDT 2013
Author: dvyukov
Date: Fri May 17 07:05:44 2013
New Revision: 182089
URL: http://llvm.org/viewvc/llvm-project?rev=182089&view=rev
Log:
tsan: remove "printing report from signal handler. Can crash or hang" output
it was added to debug mysterious hangs, but it does not seem to happen anymore
now it only clutter up output
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc?rev=182089&r1=182088&r2=182089&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cc Fri May 17 07:05:44 2013
@@ -600,10 +600,6 @@ void ReportRace(ThreadState *thr) {
if (!flags()->report_atomic_races && !RaceBetweenAtomicAndFree(thr))
return;
- if (thr->in_signal_handler)
- Printf("ThreadSanitizer: printing report from signal handler."
- " Can crash or hang.\n");
-
bool freed = false;
{
Shadow s(thr->racy_state[1]);
More information about the llvm-commits
mailing list