Avoid mprotect calls on iOS

This commit is contained in:
Chinmay Garde
2015-07-28 14:40:03 -07:00
parent 9474419cd0
commit d3d4abd198

View File

@@ -136,7 +136,7 @@ config("feature_flags") {
if (use_allocator != "tcmalloc") {
defines += [ "NO_TCMALLOC" ]
}
if (is_asan || is_lsan || is_tsan || is_msan) {
if (is_asan || is_lsan || is_tsan || is_msan || is_ios) {
defines += [
"MEMORY_TOOL_REPLACES_ALLOCATOR",
"MEMORY_SANITIZER_INITIAL_SIZE",