mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-25 06:46:09 +03:00
allocator: Disable PartitionAlloc memory tagging on non-glibc
Memory tagging depends on ifunc which is glibc-specific.
This commit is contained in:
parent
78a8906047
commit
38071ef4e5
@ -162,7 +162,7 @@ static_assert(sizeof(void*) != 8, "");
|
||||
|
||||
#if defined(ARCH_CPU_ARM64) && defined(__clang__) && \
|
||||
!defined(ADDRESS_SANITIZER) && \
|
||||
(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID))
|
||||
(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)) && defined(LIBC_GLIBC)
|
||||
#define PA_CONFIG_HAS_MEMORY_TAGGING() 1
|
||||
#else
|
||||
#define PA_CONFIG_HAS_MEMORY_TAGGING() 0
|
||||
|
Loading…
Reference in New Issue
Block a user