summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_flags.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2013-10-15 13:28:51 +0000
committerDmitry Vyukov <dvyukov@google.com>2013-10-15 13:28:51 +0000
commit6866dba92ac842fc513ba339ba849a953ffb7507 (patch)
tree899935f17b2b69a707a837a86632e79e85c9ea36 /lib/sanitizer_common/sanitizer_flags.h
parentfba64b41107e141c9ac7c9d406eddcc820f8cf60 (diff)
tsan: move verbosity flag to CommonFlags
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192701 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.h')
-rw-r--r--lib/sanitizer_common/sanitizer_flags.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.h b/lib/sanitizer_common/sanitizer_flags.h
index 7740b240f..efea6fea4 100644
--- a/lib/sanitizer_common/sanitizer_flags.h
+++ b/lib/sanitizer_common/sanitizer_flags.h
@@ -41,6 +41,8 @@ struct CommonFlags {
// The special values are "stdout" and "stderr".
// The default is "stderr".
const char *log_path;
+ // Verbosity level (0 - silent, 1 - a bit of output, 2+ - more output).
+ int verbosity;
// Enable memory leak detection.
bool detect_leaks;
// Invoke leak checking in an atexit handler. Has no effect if