Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ea640f2

Browse files
committed
Avoid mprotect calls on iOS
1 parent 4d41c2e commit ea640f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/config/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ config("feature_flags") {
136136
if (use_allocator != "tcmalloc") {
137137
defines += [ "NO_TCMALLOC" ]
138138
}
139-
if (is_asan || is_lsan || is_tsan || is_msan) {
139+
if (is_asan || is_lsan || is_tsan || is_msan || is_ios) {
140140
defines += [
141141
"MEMORY_TOOL_REPLACES_ALLOCATOR",
142142
"MEMORY_SANITIZER_INITIAL_SIZE",

0 commit comments

Comments
 (0)