diff options
author | marat-khalili <[email protected]> | 2022-02-10 16:51:52 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:51:52 +0300 |
commit | 4820b82de461ea3ac2dce7c2a77eeda965fffc9c (patch) | |
tree | 22e2f840a95c94ee48844701356e8a10d459b94f /util/system/sanitizers.h | |
parent | fcb328858da947c52819d89cea4a4357cc207ae4 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/sanitizers.h')
-rw-r--r-- | util/system/sanitizers.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/util/system/sanitizers.h b/util/system/sanitizers.h index 965e5c751e4..1b17b25d9bb 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 } |