diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2012-11-07 16:14:12 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2012-11-07 16:14:12 +0000 |
| commit | ea4f1990e1717fcd2952a27d323fadefe7a976da (patch) | |
| tree | 665deb12f864342e3236db6f8bc8118eaa339765 /compiler-rt/lib/tsan/rtl/tsan_flags.h | |
| parent | e11f2920c97b8d3267932cfad51870ec579519dd (diff) | |
| download | bcm5719-llvm-ea4f1990e1717fcd2952a27d323fadefe7a976da.tar.gz bcm5719-llvm-ea4f1990e1717fcd2952a27d323fadefe7a976da.zip | |
tsan: add flag to suppress all reports (useful for benchmarking)
llvm-svn: 167532
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_flags.h')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_flags.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_flags.h b/compiler-rt/lib/tsan/rtl/tsan_flags.h index 929e6f5353d..895cef8a38f 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_flags.h +++ b/compiler-rt/lib/tsan/rtl/tsan_flags.h @@ -31,6 +31,8 @@ struct Flags { // Supress a race report if we've already output another race report // on the same address. bool suppress_equal_addresses; + // Turns off bug reporting entirely (useful for benchmarking). + bool report_bugs; // Report thread leaks at exit? bool report_thread_leaks; // Report destruction of a locked mutex? |

