aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxrt
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:30 +0300
commit4b839d0704ee9be1dabb0310a1f03af24963637b (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/cxxsupp/libcxxrt
parentf773626848a7c7456803654292e716b83d69cc12 (diff)
downloadydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxrt')
-rw-r--r--contrib/libs/cxxsupp/libcxxrt/exception.cc16
-rw-r--r--contrib/libs/cxxsupp/libcxxrt/msan.h24
2 files changed, 20 insertions, 20 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.
diff --git a/contrib/libs/cxxsupp/libcxxrt/msan.h b/contrib/libs/cxxsupp/libcxxrt/msan.h
index 7e3b4bc8f4..5cf9572af0 100644
--- a/contrib/libs/cxxsupp/libcxxrt/msan.h
+++ b/contrib/libs/cxxsupp/libcxxrt/msan.h
@@ -1,12 +1,12 @@
-#pragma once
-
-#include <stddef.h>
-
-#if defined(__clang__)
-#if __has_feature(memory_sanitizer)
-extern "C" void __msan_unpoison(const volatile void* ptr, size_t size);
-#ifndef __SANITIZE_MEMORY__
-#define __SANITIZE_MEMORY__
-#endif
-#endif
-#endif
+#pragma once
+
+#include <stddef.h>
+
+#if defined(__clang__)
+#if __has_feature(memory_sanitizer)
+extern "C" void __msan_unpoison(const volatile void* ptr, size_t size);
+#ifndef __SANITIZE_MEMORY__
+#define __SANITIZE_MEMORY__
+#endif
+#endif
+#endif