diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/cxxsupp/libcxxrt/exception.cc | |
parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
download | ydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxrt/exception.cc')
-rw-r--r-- | contrib/libs/cxxsupp/libcxxrt/exception.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/libs/cxxsupp/libcxxrt/exception.cc b/contrib/libs/cxxsupp/libcxxrt/exception.cc index 6edebbc812..6baf428ead 100644 --- a/contrib/libs/cxxsupp/libcxxrt/exception.cc +++ b/contrib/libs/cxxsupp/libcxxrt/exception.cc @@ -34,7 +34,7 @@ #include "dwarf_eh.h" #include "atomic.h" #include "cxxabi.h" -#include "msan.h" +#include "msan.h" using namespace ABI_NAMESPACE; @@ -1175,13 +1175,13 @@ static void pushCleanupException(_Unwind_Exception *exceptionObject, */ extern "C" BEGIN_PERSONALITY_FUNCTION(__gxx_personality_v0) -#if defined(__SANITIZE_MEMORY__) - __msan_unpoison(&version, sizeof(version)); - __msan_unpoison(&actions, sizeof(actions)); - __msan_unpoison(&exceptionClass, sizeof(exceptionClass)); - __msan_unpoison(&exceptionObject, sizeof(exceptionObject)); - __msan_unpoison(&context, sizeof(context)); -#endif +#if defined(__SANITIZE_MEMORY__) + __msan_unpoison(&version, sizeof(version)); + __msan_unpoison(&actions, sizeof(actions)); + __msan_unpoison(&exceptionClass, sizeof(exceptionClass)); + __msan_unpoison(&exceptionObject, sizeof(exceptionObject)); + __msan_unpoison(&context, sizeof(context)); +#endif // This personality function is for version 1 of the ABI. If you use it // with a future version of the ABI, it won't know what to do, so it // reports a fatal error and give up before it breaks anything. |