| Index: build/config/allocator.gni
|
| diff --git a/build/config/allocator.gni b/build/config/allocator.gni
|
| index 06447af0b40660b00525bea0eea90b131a9ef6a2..10ac1adf0bd32b80a7bda79525769ed9dea2d68b 100644
|
| --- a/build/config/allocator.gni
|
| +++ b/build/config/allocator.gni
|
| @@ -4,8 +4,10 @@
|
|
|
| import("//build/config/sanitizers/sanitizers.gni")
|
|
|
| +# Temporarily disable tcmalloc on arm64 linux to get rid of compilation errors.
|
| if (is_android || current_cpu == "mipsel" || is_mac || is_ios || is_asan ||
|
| - is_lsan || is_tsan || is_msan || is_win || is_syzyasan) {
|
| + is_lsan || is_tsan || is_msan || is_win || is_syzyasan ||
|
| + (is_linux && target_cpu == "arm64")) {
|
| _default_allocator = "none"
|
| } else {
|
| _default_allocator = "tcmalloc"
|
|
|