From 3374e3f874ea70cf7789e039be935fa6a6f7719c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 28 Nov 2012 12:56:52 +0000 Subject: tsan: add log_path parameter (similar to asan) remove old log_fileno llvm-svn: 168788 --- compiler-rt/lib/tsan/rtl/tsan_flags.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'compiler-rt/lib/tsan/rtl/tsan_flags.h') diff --git a/compiler-rt/lib/tsan/rtl/tsan_flags.h b/compiler-rt/lib/tsan/rtl/tsan_flags.h index 06c3d0d1eb1..41a8a7853bc 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_flags.h +++ b/compiler-rt/lib/tsan/rtl/tsan_flags.h @@ -49,8 +49,10 @@ struct Flags { const char *suppressions; // Override exit status if something was reported. int exitcode; - // Log fileno (1 - stdout, 2 - stderr). - int log_fileno; + // Write logs to "log_path.pid". + // The special values are "stdout" and "stderr". + // The default is "stderr". + const char *log_path; // Sleep in main thread before exiting for that many ms // (useful to catch "at exit" races). int atexit_sleep_ms; -- cgit v1.2.3