mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
allocator: Disable PartitionAlloc memory tagging
This commit is contained in:
parent
5941145cf6
commit
207f351a39
@ -30,8 +30,13 @@ if (is_nacl) {
|
|||||||
assert(false, "Unknown CPU: $current_cpu")
|
assert(false, "Unknown CPU: $current_cpu")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Disables for Android ARM64 because it actually requires API 31+.
|
||||||
|
# See partition_alloc/tagging.cc:
|
||||||
|
# mallopt can be loaded after API 26.
|
||||||
|
# mallopt M_BIONIC_SET_HEAP_TAGGING_LEVEL can be called after API 31.
|
||||||
|
# Disables for OpenWrt Musl which lacks the required ifunc support.
|
||||||
has_memory_tagging =
|
has_memory_tagging =
|
||||||
current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android)
|
current_cpu == "arm64" && is_clang && !is_asan && is_linux && current_os != "openwrt"
|
||||||
|
|
||||||
declare_args() {
|
declare_args() {
|
||||||
# Causes all the allocations to be routed via allocator_shim.cc. Usually,
|
# Causes all the allocations to be routed via allocator_shim.cc. Usually,
|
||||||
|
Loading…
Reference in New Issue
Block a user