aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxrt
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:29 +0300
commitf773626848a7c7456803654292e716b83d69cc12 (patch)
treedb052dfcf9134f492bdbb962cb6c16cea58e1ed3 /contrib/libs/cxxsupp/libcxxrt
parentf43ab775d197d300eb67bd4497632b909cd7c2a5 (diff)
downloadydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 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 6baf428ead..6edebbc812 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 5cf9572af0..7e3b4bc8f4 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