summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-05-27 12:37:52 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-05-27 12:37:52 +0000
commit567e516015f88848da1c0720bed49efa95a0701e (patch)
tree976bb91519eebc58c87c6148e2072f64a12a3e81 /compiler-rt/lib/sanitizer_common/sanitizer_flags.h
parenta2c2a4faa0ff98e2e6aad76a643933d50e77ebe9 (diff)
downloadbcm5719-llvm-567e516015f88848da1c0720bed49efa95a0701e.tar.gz
bcm5719-llvm-567e516015f88848da1c0720bed49efa95a0701e.zip
[asancov] Write coverage directly to a memory-mapped file.
This way does not require a __sanitizer_cov_dump() call. That's important on Android, where apps can be killed at arbitrary time. We write raw PCs to disk instead of module offsets; we also write memory layout to a separate file. This increases dump size by the factor of 2 on 64-bit systems. llvm-svn: 209653
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_flags.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_flags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h b/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
index 1d87f5a4bc6..1ad53dc6711 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_flags.h
@@ -54,6 +54,7 @@ struct CommonFlags {
bool help;
uptr mmap_limit_mb;
bool coverage;
+ bool coverage_direct;
bool full_address_space;
};
OpenPOWER on IntegriCloud