diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/libunwind | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) | |
download | ydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libunwind')
-rw-r--r-- | contrib/libs/libunwind/src/Unwind-EHABI.cpp | 2 | ||||
-rw-r--r-- | contrib/libs/libunwind/ut/libunwind_ut.cpp | 52 | ||||
-rw-r--r-- | contrib/libs/libunwind/ut/ya.make | 16 |
3 files changed, 35 insertions, 35 deletions
diff --git a/contrib/libs/libunwind/src/Unwind-EHABI.cpp b/contrib/libs/libunwind/src/Unwind-EHABI.cpp index ded98ac4eb..21c8b2777b 100644 --- a/contrib/libs/libunwind/src/Unwind-EHABI.cpp +++ b/contrib/libs/libunwind/src/Unwind-EHABI.cpp @@ -884,7 +884,7 @@ _Unwind_GetLanguageSpecificData(struct _Unwind_Context *context) { return result; } -[[maybe_unused]] static uint64_t ValueAsBitPattern(_Unwind_VRS_DataRepresentation representation, +[[maybe_unused]] static uint64_t ValueAsBitPattern(_Unwind_VRS_DataRepresentation representation, void* valuep) { uint64_t value = 0; switch (representation) { diff --git a/contrib/libs/libunwind/ut/libunwind_ut.cpp b/contrib/libs/libunwind/ut/libunwind_ut.cpp index 711e0f115a..93767c50c8 100644 --- a/contrib/libs/libunwind/ut/libunwind_ut.cpp +++ b/contrib/libs/libunwind/ut/libunwind_ut.cpp @@ -1,29 +1,29 @@ #include <library/cpp/testing/unittest/registar.h> - -#include <util/system/compiler.h> - -#include <exception> -#include <vector> - -Y_NO_INLINE void Except(int arg, ...) { - (void)arg; - throw std::exception(); -} - + +#include <util/system/compiler.h> + +#include <exception> +#include <vector> + +Y_NO_INLINE void Except(int arg, ...) { + (void)arg; + throw std::exception(); +} + Y_UNIT_TEST_SUITE(LibunwindSuite) { - static void Y_NO_INLINE DoTestVarargs() { - std::vector<int> v; - v.push_back(0); - Except(0x11, 0x22, 0x33, 0x44, 0xAA, 0xBB, 0xCC, 0xDD); - } - + static void Y_NO_INLINE DoTestVarargs() { + std::vector<int> v; + v.push_back(0); + Except(0x11, 0x22, 0x33, 0x44, 0xAA, 0xBB, 0xCC, 0xDD); + } + Y_UNIT_TEST(TestVarargs) { - try { - DoTestVarargs(); - } catch (const std::exception& e) { - return; - } - - UNIT_FAIL("Should not be here"); - } -} + try { + DoTestVarargs(); + } catch (const std::exception& e) { + return; + } + + UNIT_FAIL("Should not be here"); + } +} diff --git a/contrib/libs/libunwind/ut/ya.make b/contrib/libs/libunwind/ut/ya.make index f0026a0c42..a608aee8a4 100644 --- a/contrib/libs/libunwind/ut/ya.make +++ b/contrib/libs/libunwind/ut/ya.make @@ -1,11 +1,11 @@ -UNITTEST() - +UNITTEST() + WITHOUT_LICENSE_TEXTS() - + OWNER(somov) -SRCS( - libunwind_ut.cpp -) - -END() +SRCS( + libunwind_ut.cpp +) + +END() |