diff options
author | Evgueni Petrov <evgueni.s.petrov@gmail.com> | 2022-02-10 16:47:00 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:00 +0300 |
commit | 6bde7c5def28273dc3eb4b26959d640ce52e5d2f (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /contrib/libs | |
parent | 19d7d7947f95423df4b50d3a6e858cd689db06ed (diff) | |
download | ydb-6bde7c5def28273dc3eb4b26959d640ce52e5d2f.tar.gz |
Restoring authorship annotation for Evgueni Petrov <evgueni.s.petrov@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/cxxsupp/openmp/kmp_alloc.c | 30 | ||||
-rw-r--r-- | contrib/libs/ya.make | 2 |
2 files changed, 16 insertions, 16 deletions
diff --git a/contrib/libs/cxxsupp/openmp/kmp_alloc.c b/contrib/libs/cxxsupp/openmp/kmp_alloc.c index 2a084d36f5..4e4656c6e8 100644 --- a/contrib/libs/cxxsupp/openmp/kmp_alloc.c +++ b/contrib/libs/cxxsupp/openmp/kmp_alloc.c @@ -17,18 +17,18 @@ #include "kmp_wrapper_malloc.h" #include "kmp_io.h" -#ifdef __clang__ -#if __has_feature(address_sanitizer) -extern "C" { // sanitizers API -void __lsan_ignore_object(const void* p); -} -#else -#define __lsan_ignore_object(p) -#endif -#else -#define __lsan_ignore_object(p) -#endif - +#ifdef __clang__ +#if __has_feature(address_sanitizer) +extern "C" { // sanitizers API +void __lsan_ignore_object(const void* p); +} +#else +#define __lsan_ignore_object(p) +#endif +#else +#define __lsan_ignore_object(p) +#endif + // Disable bget when it is not used #if KMP_USE_BGET @@ -1619,9 +1619,9 @@ ___kmp_allocate_align( size_t size, size_t alignment KMP_SRC_LOC_DECL ) #else descr.ptr_allocated = malloc_src_loc( descr.size_allocated KMP_SRC_LOC_PARM ); #endif - - __lsan_ignore_object(descr.ptr_allocated); // espetrov@yandex-team.ru: asan considers descr.ptr_allocated leaked because of address alignment arithmetics - + + __lsan_ignore_object(descr.ptr_allocated); // espetrov@yandex-team.ru: asan considers descr.ptr_allocated leaked because of address alignment arithmetics + KE_TRACE( 10, ( " malloc( %d ) returned %p\n", (int) descr.size_allocated, diff --git a/contrib/libs/ya.make b/contrib/libs/ya.make index ffff42353f..9c4640fdcf 100644 --- a/contrib/libs/ya.make +++ b/contrib/libs/ya.make @@ -73,7 +73,7 @@ RECURSE( flatbuffers64 flatbuffers64/flatc flatbuffers64/samples - fmath + fmath fmt fontconfig fp16 |