From d3d4abd19808289c51309789c5240efaae354d8f 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 --- engine/src/flutter/build/config/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/build/config/BUILD.gn b/engine/src/flutter/build/config/BUILD.gn index e313d21a16..e49a24bc23 100644 --- a/engine/src/flutter/build/config/BUILD.gn +++ b/engine/src/flutter/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",