Commit c892be25 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

No need to annotate SSE noasan decls

Summary: [Folly] No need to annotate SSE noasan decls - it's the defns which need annotation.

Reviewed By: davidrothera

Differential Revision: D13198964

fbshipit-source-id: 97af85c6a593dcd4043b650f824b037f74092839
parent 4c291582
...@@ -29,15 +29,13 @@ namespace detail { ...@@ -29,15 +29,13 @@ namespace detail {
#if FOLLY_SSE_PREREQ(2, 0) #if FOLLY_SSE_PREREQ(2, 0)
FOLLY_DISABLE_ADDRESS_SANITIZER __m128i __m128i _mm_loadu_si128_noasan(__m128i const* const p);
_mm_loadu_si128_noasan(__m128i const* const p);
FOLLY_ALWAYS_INLINE FOLLY_ATTR_VISIBILITY_HIDDEN __m128i FOLLY_ALWAYS_INLINE FOLLY_ATTR_VISIBILITY_HIDDEN __m128i
_mm_loadu_si128_unchecked(__m128i const* const p) { _mm_loadu_si128_unchecked(__m128i const* const p) {
return kIsSanitizeAddress ? _mm_loadu_si128_noasan(p) : _mm_loadu_si128(p); return kIsSanitizeAddress ? _mm_loadu_si128_noasan(p) : _mm_loadu_si128(p);
} }
FOLLY_DISABLE_ADDRESS_SANITIZER __m128i __m128i _mm_load_si128_noasan(__m128i const* const p);
_mm_load_si128_noasan(__m128i const* const p);
FOLLY_ALWAYS_INLINE FOLLY_ATTR_VISIBILITY_HIDDEN __m128i FOLLY_ALWAYS_INLINE FOLLY_ATTR_VISIBILITY_HIDDEN __m128i
_mm_load_si128_unchecked(__m128i const* const p) { _mm_load_si128_unchecked(__m128i const* const p) {
return kIsSanitizeAddress ? _mm_load_si128_noasan(p) : _mm_load_si128(p); return kIsSanitizeAddress ? _mm_load_si128_noasan(p) : _mm_load_si128(p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment