#pragma once #include #include #include #include namespace NYT::NBacktrace { //////////////////////////////////////////////////////////////////////////////// TFramePointerCursorContext FramePointerCursorContextFromUcontext(const ucontext_t& ucontext); std::optional TrySynthesizeLibunwindContextFromMachineContext( const TContMachineContext& machineContext); TFramePointerCursorContext FramePointerCursorContextFromLibunwindCursor( const unw_cursor_t& uwCursor); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT::NBacktrace