[compiler-rt] r210024 - [asan] Default to memory-mapped coverage on Android.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Mon Jun 2 06:06:33 PDT 2014
Author: eugenis
Date: Mon Jun 2 08:06:33 2014
New Revision: 210024
URL: http://llvm.org/viewvc/llvm-project?rev=210024&view=rev
Log:
[asan] Default to memory-mapped coverage on Android.
The alternative (writing coverage at process exit) is nearly useless there.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc?rev=210024&r1=210023&r2=210024&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_flags.cc Mon Jun 2 08:06:33 2014
@@ -55,7 +55,7 @@ void SetCommonFlagsDefaults(CommonFlags
f->legacy_pthread_cond = false;
f->intercept_tls_get_addr = false;
f->coverage = false;
- f->coverage_direct = false;
+ f->coverage_direct = SANITIZER_ANDROID;
f->coverage_dir = ".";
f->full_address_space = false;
}
More information about the llvm-commits
mailing list