summaryrefslogtreecommitdiff
path: root/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
commitf1f93be7d5ddcf0bcec2521f58de3d798b5c8d13 (patch)
tree447222ca8d10ec3b488017a6a880634cdef7faef /lib/sanitizer_common/sanitizer_flags.h
parent480e5802315e94bce9b3207c278138a5fe82b20d (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.h')
-rw-r--r--lib/sanitizer_common/sanitizer_flags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.h b/lib/sanitizer_common/sanitizer_flags.h
index 1d87f5a4b..1ad53dc67 100644
--- a/lib/sanitizer_common/sanitizer_flags.h
+++ b/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;
};