summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_flags.inc
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-02-06 00:29:44 +0000
committerKostya Serebryany <kcc@google.com>2016-02-06 00:29:44 +0000
commit23a68229762906c1f9e8fec90821d0e67bad4b6c (patch)
tree502643421582046b9a642962784a50d94eb05449 /compiler-rt/lib/asan/asan_flags.inc
parent353652f80841b56562b148e7391d6fde251f1db2 (diff)
downloadbcm5719-llvm-23a68229762906c1f9e8fec90821d0e67bad4b6c.tar.gz
bcm5719-llvm-23a68229762906c1f9e8fec90821d0e67bad4b6c.zip
[asan] add an experimental feature that prints the scariness score of the error message. To enable it use ASAN_OPTIONS=print_scariness=1
llvm-svn: 259961
Diffstat (limited to 'compiler-rt/lib/asan/asan_flags.inc')
-rw-r--r--compiler-rt/lib/asan/asan_flags.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_flags.inc b/compiler-rt/lib/asan/asan_flags.inc
index 5e69242fb8e..acaa7a8f8d7 100644
--- a/compiler-rt/lib/asan/asan_flags.inc
+++ b/compiler-rt/lib/asan/asan_flags.inc
@@ -77,6 +77,8 @@ ASAN_FLAG(bool, print_stats, false,
"Print various statistics after printing an error message or if "
"atexit=1.")
ASAN_FLAG(bool, print_legend, true, "Print the legend for the shadow bytes.")
+ASAN_FLAG(bool, print_scariness, false,
+ "Print the scariness score. Experimental.")
ASAN_FLAG(bool, atexit, false,
"If set, prints ASan exit stats even after program terminates "
"successfully.")
OpenPOWER on IntegriCloud