summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-02-26 09:06:59 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-02-26 09:06:59 +0000
commite23add20aee3c4973be19f76b2681007f25babfa (patch)
tree751464286b5903a7296292a7d7d9abd80616960c /compiler-rt/lib/sanitizer_common/sanitizer_flags.h
parent2e09d93f74d8af94c1f345dbcac976a0d8c8c527 (diff)
downloadbcm5719-llvm-e23add20aee3c4973be19f76b2681007f25babfa.tar.gz
bcm5719-llvm-e23add20aee3c4973be19f76b2681007f25babfa.zip
[sanitizer] Add a flag to enable/disable report colorization.
llvm-svn: 202249
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_flags.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_flags.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h b/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
index 9632ca5f926..4d2d684b818 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
@@ -76,6 +76,8 @@ struct CommonFlags {
// Large shadow regions are zero-filled using mmap(NORESERVE) instead of
// memset. This is the threshold size in bytes.
uptr clear_shadow_mmap_threshold;
+ // Colorize reports: (always|never|auto).
+ const char *color;
};
inline CommonFlags *common_flags() {
OpenPOWER on IntegriCloud