mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06: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
a1f9462f7b
commit
3aeb045c8c
@ -154,7 +154,8 @@ static_assert(sizeof(void*) != 8, "");
|
||||
|
||||
#define PA_CONFIG_HAS_MEMORY_TAGGING() \
|
||||
(defined(ARCH_CPU_ARM64) && defined(__clang__) && \
|
||||
(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)))
|
||||
(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID))) && \
|
||||
defined(LIBC_GLIBC)
|
||||
|
||||
#if PA_CONFIG(HAS_MEMORY_TAGGING)
|
||||
static_assert(sizeof(void*) == 8);
|
||||
|
Loading…
Reference in New Issue
Block a user