diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
commit | a5950576e397b1909261050b8c7da16db58f10b1 (patch) | |
tree | 7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /contrib/libs/libunwind | |
parent | 81eddc8c0b55990194e112b02d127b87d54164a9 (diff) | |
download | ydb-a5950576e397b1909261050b8c7da16db58f10b1.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 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 21c8b2777b..ded98ac4eb 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 93767c50c8..711e0f115a 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 a608aee8a4..f0026a0c42 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() |