From ea640f23ab7d6e29757351180ff3fae0c6d3c606 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Tue, 28 Jul 2015 14:40:03 -0700 Subject: [PATCH] Avoid mprotect calls on iOS --- build/config/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn index e313d21a164fe..e49a24bc23ef4 100644 --- a/build/config/BUILD.gn +++ b/build/config/BUILD.gn @@ -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",