diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2012-11-28 12:56:52 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2012-11-28 12:56:52 +0000 |
| commit | 3374e3f874ea70cf7789e039be935fa6a6f7719c (patch) | |
| tree | 224fec6e11d807e233639fc8787a23e0af356ec4 /compiler-rt/lib/tsan/rtl/tsan_flags.h | |
| parent | e1a7f338a34f358b8866a7d08a21a1756e43f2da (diff) | |
| download | bcm5719-llvm-3374e3f874ea70cf7789e039be935fa6a6f7719c.tar.gz bcm5719-llvm-3374e3f874ea70cf7789e039be935fa6a6f7719c.zip | |
tsan: add log_path parameter (similar to asan)
remove old log_fileno
llvm-svn: 168788
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_flags.h')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_flags.h | 6 |
1 files changed, 4 insertions, 2 deletions
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; |

