summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_flags.inc
diff options
context:
space:
mode:
authorMaxim Ostapenko <m.ostapenko@partner.samsung.com>2016-01-18 07:55:12 +0000
committerMaxim Ostapenko <m.ostapenko@partner.samsung.com>2016-01-18 07:55:12 +0000
commit67eec7c3fff10537b005a4dcaa16f644554f7c93 (patch)
tree5295d2d8241e70bbc56a7226c7d6d52d07a1b0d5 /lib/sanitizer_common/sanitizer_flags.inc
parent3bac9e421b77b1e40939362a35d0023379729a7c (diff)
downloadcompiler-rt-67eec7c3fff10537b005a4dcaa16f644554f7c93.tar.gz
[asan] Optionally print reproducer cmdline in ASan reports.
Differential Revision: http://reviews.llvm.org/D16070 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@258037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.inc')
-rw-r--r--lib/sanitizer_common/sanitizer_flags.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.inc b/lib/sanitizer_common/sanitizer_flags.inc
index c28f7f4a6..f9726fe5c 100644
--- a/lib/sanitizer_common/sanitizer_flags.inc
+++ b/lib/sanitizer_common/sanitizer_flags.inc
@@ -200,3 +200,5 @@ COMMON_FLAG(
COMMON_FLAG(bool, suppress_equal_pcs, true,
"Deduplicate multiple reports for single source location in "
"halt_on_error=false mode (asan only).")
+COMMON_FLAG(bool, print_cmdline, false, "Print command line on crash "
+ "(asan only).")