aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorEvgueni Petrov <evgueni.s.petrov@gmail.com>2022-02-10 16:46:59 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:59 +0300
commit19d7d7947f95423df4b50d3a6e858cd689db06ed (patch)
treeb31e808f1761fed50236a1ae5bda03cd3bb9d428 /contrib
parent122c87ebe5797d52f1800afb02c87f751135d0a4 (diff)
downloadydb-19d7d7947f95423df4b50d3a6e858cd689db06ed.tar.gz
Restoring authorship annotation for Evgueni Petrov <evgueni.s.petrov@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/cxxsupp/openmp/kmp_alloc.c30
-rw-r--r--contrib/libs/ya.make2
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 4e4656c6e8..2a084d36f5 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 9c4640fdcf..ffff42353f 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