diff --git a/tcmalloc/internal/percpu_rseq_aarch64.S b/tcmalloc/internal/percpu_rseq_aarch64.S index b453c0b2a..7c411c3bc 100644 --- a/tcmalloc/internal/percpu_rseq_aarch64.S +++ b/tcmalloc/internal/percpu_rseq_aarch64.S @@ -121,7 +121,7 @@ label##_trampoline: \ */ #define ENCODE_SIZE(label) .size label, . - label /* We are assuming small memory model. */ -#if __clang_major__ >= 9 && !defined(__AARCH64_CMODEL_SMALL__) +#if __clang_major__ >= 11 && !defined(__AARCH64_CMODEL_SMALL__) #error "Memory model not supported!" #endif