summaryrefslogtreecommitdiff
path: root/lib/sancov/sancov_flags.inc
diff options
context:
space:
mode:
authorMike Aizatsky <aizatsky@chromium.org>2017-01-12 01:19:34 +0000
committerMike Aizatsky <aizatsky@chromium.org>2017-01-12 01:19:34 +0000
commit64d6b142a6d5ccbc3eab9b61fdba1184457e740d (patch)
treecac9b817ccfe996b6f26a7a6bf6a00566ae1ccc0 /lib/sancov/sancov_flags.inc
parent9ed4828f5145d7d80622ce923423ac3eda4aae41 (diff)
[sancov] moving sancov rt to sancov/ directory
Subscribers: kubabrecka, mgorny Differential Revision: https://reviews.llvm.org/D28541 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@291734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sancov/sancov_flags.inc')
-rw-r--r--lib/sancov/sancov_flags.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/sancov/sancov_flags.inc b/lib/sancov/sancov_flags.inc
new file mode 100644
index 000000000..63a1f0cbc
--- /dev/null
+++ b/lib/sancov/sancov_flags.inc
@@ -0,0 +1,21 @@
+//===-- sancov_flags.inc ----------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// Sanitizer Coverage runtime flags.
+//
+//===----------------------------------------------------------------------===//
+#ifndef SANCOV_FLAG
+#error "Defnine SANCOV_FLAG prior to including this file!"
+#endif
+
+SANCOV_FLAG(bool, symbolize, true,
+ "If set, converage information will be symbolized by sancov tool "
+ "after dumping.")
+
+SANCOV_FLAG(bool, help, false, "Print flags help.")