diff options
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/check/crc_clmul.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/liblzma/check/crc_clmul.c b/src/liblzma/check/crc_clmul.c index 8db82940..b855e443 100644 --- a/src/liblzma/check/crc_clmul.c +++ b/src/liblzma/check/crc_clmul.c @@ -44,9 +44,7 @@ #if (defined(__GNUC__) || defined(__clang__)) && !defined(__EDG__) __attribute__((__target__("ssse3,sse4.1,pclmul"))) #endif -#if lzma_has_attribute(__no_sanitize_address__) -__attribute__((__no_sanitize_address__)) -#endif +crc_attr_no_sanitize_address static crc_always_inline void crc_simd_body(const uint8_t *buf, const size_t size, __m128i *v0, __m128i *v1, const __m128i vfold16, const __m128i initial_crc) @@ -226,9 +224,7 @@ calc_hi(uint64_t p, uint64_t a, int n) #if (defined(__GNUC__) || defined(__clang__)) && !defined(__EDG__) __attribute__((__target__("ssse3,sse4.1,pclmul"))) #endif -#if lzma_has_attribute(__no_sanitize_address__) -__attribute__((__no_sanitize_address__)) -#endif +crc_attr_no_sanitize_address extern uint32_t lzma_crc32_clmul(const uint8_t *buf, size_t size, uint32_t crc) { @@ -319,9 +315,7 @@ calc_hi(uint64_t poly, uint64_t a) #if (defined(__GNUC__) || defined(__clang__)) && !defined(__EDG__) __attribute__((__target__("ssse3,sse4.1,pclmul"))) #endif -#if lzma_has_attribute(__no_sanitize_address__) -__attribute__((__no_sanitize_address__)) -#endif +crc_attr_no_sanitize_address extern uint64_t lzma_crc64_clmul(const uint8_t *buf, size_t size, uint64_t crc) { |