aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/sanitizers.h
diff options
context:
space:
mode:
authormarat-khalili <marat-khalili@yandex-team.ru>2022-02-10 16:51:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:52 +0300
commit45d88ab6257c06a37cf909ba04512ba970eca425 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/sanitizers.h
parent4820b82de461ea3ac2dce7c2a77eeda965fffc9c (diff)
downloadydb-45d88ab6257c06a37cf909ba04512ba970eca425.tar.gz
Restoring authorship annotation for <marat-khalili@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/sanitizers.h')
-rw-r--r--util/system/sanitizers.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/util/system/sanitizers.h b/util/system/sanitizers.h
index 1b17b25d9b..965e5c751e 100644
--- a/util/system/sanitizers.h
+++ b/util/system/sanitizers.h
@@ -119,23 +119,23 @@ namespace NSan {
Y_UNUSED(ptr);
#endif
}
-
-#if defined(_tsan_enabled_)
- // defined in .cpp to avoid exposing problematic C-linkage version of AnnotateBenignRaceSized(...)
+
+#if defined(_tsan_enabled_)
+ // defined in .cpp to avoid exposing problematic C-linkage version of AnnotateBenignRaceSized(...)
void AnnotateBenignRaceSized(const char* file, int line,
const volatile void* address,
- size_t size,
+ size_t size,
const char* description) noexcept;
-#else
+#else
inline static void AnnotateBenignRaceSized(const char* file, int line,
const volatile void* address,
- size_t size,
+ size_t size,
const char* description) noexcept {
- Y_UNUSED(file);
- Y_UNUSED(line);
- Y_UNUSED(address);
- Y_UNUSED(size);
- Y_UNUSED(description);
- }
-#endif
+ Y_UNUSED(file);
+ Y_UNUSED(line);
+ Y_UNUSED(address);
+ Y_UNUSED(size);
+ Y_UNUSED(description);
+ }
+#endif
}