diff options
author | marat-khalili <marat-khalili@yandex-team.ru> | 2022-02-10 16:51:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:52 +0300 |
commit | 45d88ab6257c06a37cf909ba04512ba970eca425 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/sanitizers.cpp | |
parent | 4820b82de461ea3ac2dce7c2a77eeda965fffc9c (diff) | |
download | ydb-45d88ab6257c06a37cf909ba04512ba970eca425.tar.gz |
Restoring authorship annotation for <marat-khalili@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/sanitizers.cpp')
-rw-r--r-- | util/system/sanitizers.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/util/system/sanitizers.cpp b/util/system/sanitizers.cpp index 986cfeaaa0..bb799a9e2e 100644 --- a/util/system/sanitizers.cpp +++ b/util/system/sanitizers.cpp @@ -123,20 +123,20 @@ void TFiberContext::AfterStart() noexcept { __sanitizer_finish_switch_fiber(nullptr, nullptr, nullptr); #endif } - -#if defined(_tsan_enabled_) -extern "C" { - // This function should not be directly exposed in headers - // due to signature variations among contrib headers. + +#if defined(_tsan_enabled_) +extern "C" { + // This function should not be directly exposed in headers + // due to signature variations among contrib headers. void AnnotateBenignRaceSized(const char* file, int line, const volatile void* address, - size_t size, + size_t size, const char* description); -} +} void NSan::AnnotateBenignRaceSized(const char* file, int line, const volatile void* address, - size_t size, + size_t size, const char* description) noexcept { - ::AnnotateBenignRaceSized(file, line, address, size, description); -} -#endif + ::AnnotateBenignRaceSized(file, line, address, size, description); +} +#endif |