@@ -46,7 +46,7 @@ struct __murmur2_or_cityhash;
4646
4747template <class _Size >
4848struct __murmur2_or_cityhash <_Size, 32 > {
49- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _Size
49+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI _Size
5050 operator ()(const void * __key, _Size __len) const {
5151 // murmur2
5252 const _Size __m = 0x5bd1e995 ;
@@ -82,7 +82,7 @@ struct __murmur2_or_cityhash<_Size, 32> {
8282template <class _Size >
8383struct __murmur2_or_cityhash <_Size, 64 > {
8484 // cityhash64
85- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _Size
85+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI _Size
8686 operator ()(const void * __key, _Size __len) const {
8787 const char * __s = static_cast <const char *>(__key);
8888 if (__len <= 32 ) {
@@ -140,7 +140,7 @@ struct __murmur2_or_cityhash<_Size, 64> {
140140
141141 _LIBCPP_HIDE_FROM_ABI static _Size __shift_mix (_Size __val) { return __val ^ (__val >> 47 ); }
142142
143- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK static _Size __hash_len_16 (_Size __u, _Size __v) {
143+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI static _Size __hash_len_16 (_Size __u, _Size __v) {
144144 const _Size __mul = 0x9ddfea08eb382d69ULL ;
145145 _Size __a = (__u ^ __v) * __mul;
146146 __a ^= (__a >> 47 );
@@ -150,7 +150,7 @@ struct __murmur2_or_cityhash<_Size, 64> {
150150 return __b;
151151 }
152152
153- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK static _Size
153+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI static _Size
154154 __hash_len_0_to_16 (const char * __s, _Size __len) {
155155 if (__len > 8 ) {
156156 const _Size __a = std::__loadword<_Size>(__s);
@@ -177,7 +177,7 @@ struct __murmur2_or_cityhash<_Size, 64> {
177177 return __k2;
178178 }
179179
180- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK static _Size
180+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI static _Size
181181 __hash_len_17_to_32 (const char * __s, _Size __len) {
182182 const _Size __a = std::__loadword<_Size>(__s) * __k1;
183183 const _Size __b = std::__loadword<_Size>(__s + 8 );
@@ -189,7 +189,7 @@ struct __murmur2_or_cityhash<_Size, 64> {
189189
190190 // Return a 16-byte hash for 48 bytes. Quick and dirty.
191191 // Callers do best to use "random-looking" values for a and b.
192- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK static pair<_Size, _Size>
192+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI static pair<_Size, _Size>
193193 __weak_hash_len_32_with_seeds (_Size __w, _Size __x, _Size __y, _Size __z, _Size __a, _Size __b) {
194194 __a += __w;
195195 __b = __rotate (__b + __a + __z, 21 );
@@ -201,7 +201,7 @@ struct __murmur2_or_cityhash<_Size, 64> {
201201 }
202202
203203 // Return a 16-byte hash for s[0] ... s[31], a, and b. Quick and dirty.
204- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK static pair<_Size, _Size>
204+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI static pair<_Size, _Size>
205205 __weak_hash_len_32_with_seeds (const char * __s, _Size __a, _Size __b) {
206206 return __weak_hash_len_32_with_seeds (
207207 std::__loadword<_Size>(__s),
@@ -213,7 +213,7 @@ struct __murmur2_or_cityhash<_Size, 64> {
213213 }
214214
215215 // Return an 8-byte hash for 33 to 64 bytes.
216- _LIBCPP_HIDE_FROM_ABI _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK static _Size
216+ _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK _LIBCPP_HIDE_FROM_ABI static _Size
217217 __hash_len_33_to_64 (const char * __s, size_t __len) {
218218 _Size __z = std::__loadword<_Size>(__s + 24 );
219219 _Size __a = std::__loadword<_Size>(__s) + (__len + std::__loadword<_Size>(__s + __len - 16 )) * __k0;
0 commit comments