MCPcopy Create free account
hub / github.com/VKCOM/kphp / crash_dump_prepare_registers

Function crash_dump_prepare_registers

common/server/crash-dump.cpp:64–116  ·  view source on GitHub ↗

IMPORTANT! Do not confuse `ucontext_t` and `ucontext_t_portable`! On some platforms (e.g. linux x86_64 or darwin aarch64) `ucontext_t` and `ucontext_t_portable` has different semantics and layouts. Keep in mind that: `ucontext_t_portable` -- using for more efficient user context manipulations (e.g. `swapcontext`, `getcontext`, `setcontext`, etc) `ucontext_t` -- using in signal handlers for machine

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

write_general_infoMethod · 0.85
crash_dump_writeFunction · 0.85

Calls 1

crash_dump_write_regFunction · 0.85

Tested by

no test coverage detected