diff options
| author | robot-piglet <[email protected]> | 2026-03-27 16:42:55 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-03-27 19:29:02 +0300 |
| commit | 56db217814c323dc0dcba05791435fbffc3a74f5 (patch) | |
| tree | fd8776bcfb39431702ba0842926fe5e9c7eac45b /library/cpp/yt | |
| parent | e451b5905880d7aba0a4ede5e145ec59bf74e87e (diff) | |
Intermediate changes
commit_hash:6f47ff10b7e4503466c226a6d3df0637a5c14715
Diffstat (limited to 'library/cpp/yt')
| -rw-r--r-- | library/cpp/yt/backtrace/cursors/interop/interop.h | 4 | ||||
| -rw-r--r-- | library/cpp/yt/backtrace/cursors/interop/interop_dummy.cpp | 4 | ||||
| -rw-r--r-- | library/cpp/yt/backtrace/cursors/interop/ya.make | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/library/cpp/yt/backtrace/cursors/interop/interop.h b/library/cpp/yt/backtrace/cursors/interop/interop.h index 62e7177107c..0db8911a624 100644 --- a/library/cpp/yt/backtrace/cursors/interop/interop.h +++ b/library/cpp/yt/backtrace/cursors/interop/interop.h @@ -12,8 +12,12 @@ namespace NYT::NBacktrace { //////////////////////////////////////////////////////////////////////////////// +#if !defined(_win64_) && !defined(_win32_) + TFramePointerCursorContext FramePointerCursorContextFromUcontext(const ucontext_t& ucontext); +#endif + std::optional<unw_context_t> TrySynthesizeLibunwindContextFromMachineContext( const TContMachineContext& machineContext); diff --git a/library/cpp/yt/backtrace/cursors/interop/interop_dummy.cpp b/library/cpp/yt/backtrace/cursors/interop/interop_dummy.cpp index 37e15ded852..b3ccc81af3d 100644 --- a/library/cpp/yt/backtrace/cursors/interop/interop_dummy.cpp +++ b/library/cpp/yt/backtrace/cursors/interop/interop_dummy.cpp @@ -4,11 +4,15 @@ namespace NYT::NBacktrace { //////////////////////////////////////////////////////////////////////////////// +#if !defined(_win32_) && !defined(_win64_) + TFramePointerCursorContext FramePointerCursorContextFromUcontext(const ucontext_t& /*ucontext*/) { return {}; } +#endif + std::optional<unw_context_t> TrySynthesizeLibunwindContextFromMachineContext( const TContMachineContext& /*machineContext*/) { diff --git a/library/cpp/yt/backtrace/cursors/interop/ya.make b/library/cpp/yt/backtrace/cursors/interop/ya.make index 491b0e13398..714050c8e6e 100644 --- a/library/cpp/yt/backtrace/cursors/interop/ya.make +++ b/library/cpp/yt/backtrace/cursors/interop/ya.make @@ -2,7 +2,7 @@ LIBRARY() INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc) -IF (ARCH_X86_64) +IF (ARCH_X86_64 AND NOT OS_WINDOWS) SRCS( interop_x86_64.cpp ) |
