Commit af540e8d authored by Wang Qing's avatar Wang Qing Committed by Commit Bot

Enable tcmalloc on mips64el.

This change enable tcmalloc on mips64el.

BUG= nobug

R= dpranke@chromium.org

Change-Id: I6927ddf0b267caba539fc8b461d6ed0e822d6e30
Reviewed-on: https://chromium-review.googlesource.com/896967Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: 汪 清 <wangqing-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#533920}
parent 12569660
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
import("//build/config/sanitizers/sanitizers.gni") import("//build/config/sanitizers/sanitizers.gni")
# Temporarily disable tcmalloc on arm64 linux to get rid of compilation errors. # Temporarily disable tcmalloc on arm64 linux to get rid of compilation errors.
if (is_android || current_cpu == "mipsel" || current_cpu == "mips64el" || if (is_android || current_cpu == "mipsel" || is_mac || is_ios ||
is_mac || is_ios || is_asan || is_lsan || is_tsan || is_msan || is_win || is_asan || is_lsan || is_tsan || is_msan || is_win || is_syzyasan ||
is_syzyasan || is_fuchsia || (is_linux && target_cpu == "arm64")) { is_fuchsia || (is_linux && target_cpu == "arm64")) {
_default_allocator = "none" _default_allocator = "none"
} else { } else {
_default_allocator = "tcmalloc" _default_allocator = "tcmalloc"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment