diff options
author | max42 <max42@yandex-team.com> | 2023-06-30 11:13:34 +0300 |
---|---|---|
committer | max42 <max42@yandex-team.com> | 2023-06-30 11:13:34 +0300 |
commit | 3e1899838408bbad47622007aa382bc8a2b01f87 (patch) | |
tree | 0f21c1e6add187ddb6c3ccc048a7d640ce03fb87 /library/cpp/dwarf_backtrace/backtrace.h | |
parent | 5463eb3f5e72a86f858a3d27c886470a724ede34 (diff) | |
download | ydb-3e1899838408bbad47622007aa382bc8a2b01f87.tar.gz |
Revert "YT-19324: move YT provider to ydb/library/yql"
This reverts commit ca272f12fdd0e8d5c3e957fc87939148f1caaf72, reversing
changes made to 49f8acfc8b0b5c0071b804423bcf53fda26c7c12.
Diffstat (limited to 'library/cpp/dwarf_backtrace/backtrace.h')
-rw-r--r-- | library/cpp/dwarf_backtrace/backtrace.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/library/cpp/dwarf_backtrace/backtrace.h b/library/cpp/dwarf_backtrace/backtrace.h deleted file mode 100644 index 62ec36dba5..0000000000 --- a/library/cpp/dwarf_backtrace/backtrace.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once - -#include <util/generic/array_ref.h> -#include <util/generic/maybe.h> -#include <util/generic/string.h> -#include <util/generic/vector.h> - -#include <functional> - -namespace NDwarf { - struct TLineInfo { - TString FileName; - int Line; - int Col; - TString FunctionName; - uintptr_t Address; - int Index; - }; - - struct TError { - int Code; - TString Message; - }; - - enum class EResolving { - Continue = 0, - Break = 1, - }; - - using TCallback = std::function<EResolving(const TLineInfo&)>; - - // Resolves backtrace addresses and calls the callback for all line infos of inlined functions there. - // Stops execution if the callback returns `EResolving::Break`. - [[nodiscard]] TMaybe<TError> ResolveBacktrace(TArrayRef<const void* const> backtrace, TCallback callback); - -} |