14 lines
548 B
Diff
14 lines
548 B
Diff
|
M115 needs ifuncs for this
|
||
|
--
|
||
|
--- a/base/allocator/partition_allocator/partition_alloc_config.h
|
||
|
+++ b/base/allocator/partition_allocator/partition_alloc_config.h
|
||
|
@@ -155,7 +155,7 @@
|
||
|
#define PA_CONFIG_HAS_MEMORY_TAGGING() \
|
||
|
(defined(ARCH_CPU_ARM64) && defined(__clang__) && \
|
||
|
!defined(ADDRESS_SANITIZER) && \
|
||
|
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID)))
|
||
|
+ ((BUILDFLAG(IS_LINUX) && defined(__GLIBC__)) || BUILDFLAG(IS_ANDROID)))
|
||
|
|
||
|
#if PA_CONFIG(HAS_MEMORY_TAGGING)
|
||
|
static_assert(sizeof(void*) == 8);
|