Home
last modified time | relevance | path

Searched refs:ucontext (Results 1 – 25 of 51) sorted by relevance

123

/third_party/libunwind/src/ppc32/
DGstep.c135 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() local
140 c->sigcontext_addr = ucontext; in unw_step()
142 sp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step()
143 ip_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_LINK, 0); in unw_step()
163 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R0, 0); in unw_step()
165 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step()
167 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R2, 0); in unw_step()
169 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R3, 0); in unw_step()
171 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R4, 0); in unw_step()
173 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R5, 0); in unw_step()
[all …]
/third_party/libunwind/src/ppc64/
DGstep.c135 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() local
140 c->sigcontext_addr = ucontext; in unw_step()
142 sp_loc = DWARF_LOC ((ucontext + UC_MCONTEXT_GREGS_R1), 0); in unw_step()
143 ip_loc = DWARF_LOC ((ucontext + UC_MCONTEXT_GREGS_NIP), 0); in unw_step()
163 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R0, 0); in unw_step()
165 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step()
167 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R2, 0); in unw_step()
169 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R3, 0); in unw_step()
171 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R4, 0); in unw_step()
173 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R5, 0); in unw_step()
[all …]
/third_party/libunwind/src/x86_64/
DGos-solaris.c53 unw_word_t ucontext = c->dwarf.cfa + sizeof (struct sigframe); in x86_64_handle_signal_frame() local
62 (uint64_t)c->dwarf.cfa, (uint64_t)ucontext); in x86_64_handle_signal_frame()
64 struct dwarf_loc rsp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSP, 0); in x86_64_handle_signal_frame()
76 c->dwarf.loc[RAX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RAX, 0); in x86_64_handle_signal_frame()
77 c->dwarf.loc[RDX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDX, 0); in x86_64_handle_signal_frame()
78 c->dwarf.loc[RCX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RCX, 0); in x86_64_handle_signal_frame()
79 c->dwarf.loc[RBX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBX, 0); in x86_64_handle_signal_frame()
80 c->dwarf.loc[RSI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSI, 0); in x86_64_handle_signal_frame()
81 c->dwarf.loc[RDI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDI, 0); in x86_64_handle_signal_frame()
82 c->dwarf.loc[RBP] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBP, 0); in x86_64_handle_signal_frame()
[all …]
DGos-freebsd.c94 unw_word_t ucontext; in x86_64_handle_signal_frame() local
99 ucontext = c->dwarf.cfa + offsetof(struct sigframe, sf_uc); in x86_64_handle_signal_frame()
103 struct dwarf_loc rsp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSP, 0); in x86_64_handle_signal_frame()
114 c->dwarf.loc[RAX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RAX, 0); in x86_64_handle_signal_frame()
115 c->dwarf.loc[RDX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDX, 0); in x86_64_handle_signal_frame()
116 c->dwarf.loc[RCX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RCX, 0); in x86_64_handle_signal_frame()
117 c->dwarf.loc[RBX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBX, 0); in x86_64_handle_signal_frame()
118 c->dwarf.loc[RSI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSI, 0); in x86_64_handle_signal_frame()
119 c->dwarf.loc[RDI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDI, 0); in x86_64_handle_signal_frame()
120 c->dwarf.loc[RBP] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBP, 0); in x86_64_handle_signal_frame()
[all …]
/third_party/node/deps/v8/src/libsampler/
Dsampler.cc83 struct ucontext* uc_link;
95 struct ucontext* uc_link;
126 struct ucontext* uc_link;
144 struct ucontext* uc_link;
161 struct ucontext* uc_link;
374 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(context); in FillRegisterState() local
378 mcontext_t& mcontext = ucontext->uc_mcontext; in FillRegisterState()
424 state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->nip); in FillRegisterState()
425 state->sp = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R1]); in FillRegisterState()
426 state->fp = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R31]); in FillRegisterState()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dfailure_signal_handler.cc263 void* ucontext, bool symbolize_stacktrace, in WriteStackTrace() argument
272 ucontext, &min_dropped_frames); in WriteStackTrace()
274 absl::debugging_internal::GetProgramCounter(ucontext), stack, frame_sizes, in WriteStackTrace()
281 static void WriteFailureInfo(int signo, void* ucontext, int cpu, in WriteFailureInfo() argument
285 WriteStackTrace(ucontext, fsh_options.symbolize_stacktrace, WriterFnWrapper, in WriteFailureInfo()
321 void* ucontext = nullptr; in AbslFailureSignalHandler() local
323 static void AbslFailureSignalHandler(int signo, siginfo_t*, void* ucontext) { in AbslFailureSignalHandler()
334 signo, absl::debugging_internal::GetProgramCounter(ucontext)); in AbslFailureSignalHandler()
364 WriteFailureInfo(signo, ucontext, my_cpu, WriteToStderr); in AbslFailureSignalHandler()
369 WriteFailureInfo(signo, ucontext, my_cpu, fsh_options.writerfn); in AbslFailureSignalHandler()
/third_party/libunwind/tests/
DLtest-init-local-signal.c29 void handler(int num, siginfo_t* info, void* ucontext) { in handler() argument
33 int ret = unw_init_local2(&c, ucontext, UNW_INIT_SIGNAL_FRAME); in handler()
Dtest-coredump-unwind.c211 void handle_sigsegv(int sig, siginfo_t *info, void *ucontext) in handle_sigsegv() argument
216 uc = ucontext; in handle_sigsegv()
Dx64-unwind-badjmp-signal-frame.c45 void handle_sigsegv(int signal, siginfo_t *info, void *ucontext) in handle_sigsegv() argument
DGtest-resume-sig.c70 void *ucontext UNUSED) in handler()
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal01.c26 static void received_signal(int sig, siginfo_t *info, void *ucontext) in received_signal() argument
28 if (info && ucontext) { in received_signal()
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
Drt_sigqueueinfo01.c33 static void received_signal(int sig, siginfo_t *info, void *ucontext) in received_signal() argument
35 if (info && ucontext) { in received_signal()
/third_party/ltp/testcases/kernel/syscalls/clone3/
Dclone301.c44 static void child_rx_signal(int sig, siginfo_t *info, void *ucontext) in child_rx_signal() argument
46 (void) ucontext; in child_rx_signal()
/third_party/rust/crates/nix/
DCargo.toml45 "ucontext", "uio", "user", "zerocopy",
76 ucontext = ["signal"]
DBUILD.gn65 "ucontext",
/third_party/skia/third_party/externals/swiftshader/third_party/marl/
DCMakeLists.txt54 …(MARL_FIBERS_USE_UCONTEXT "Use ucontext instead of assembly for fibers (ignored for platforms that…
119 # Check whether ucontext is supported.
123 "#include <ucontext.h>
135 …message(WARNING "MARL_FIBERS_USE_UCONTEXT is enabled, but ucontext is not supported by the target.…
/third_party/libunwind/include/mingw/sys/
Ducontext.h23 typedef struct ucontext struct
/third_party/libunwind/include/win/sys/
Ducontext.h26 typedef struct ucontext struct
/third_party/node/test/addons/register-signal-handler/
Dbinding.cc13 void Handler(int signo, siginfo_t* siginfo, void* ucontext) { in Handler() argument
/third_party/ltp/testcases/cve/
Dmeltdown.c107 ucontext_t *ucontext = context; in sigsegv() local
108 unsigned long *prip = (unsigned long *)&ucontext->uc_mcontext.gregs[REG_RIP]; in sigsegv()
/third_party/node/src/
Dnode.cc172 void SignalExit(int signo, siginfo_t* info, void* ucontext) { in SignalExit() argument
384 typedef void (*sigaction_cb)(int signo, siginfo_t* info, void* ucontext);
401 void TrapWebAssemblyOrContinue(int signo, siginfo_t* info, void* ucontext) { in TrapWebAssemblyOrContinue() argument
402 if (!v8::TryHandleWebAssemblyTrapPosix(signo, info, ucontext)) { in TrapWebAssemblyOrContinue()
410 prev(signo, info, ucontext); in TrapWebAssemblyOrContinue()
Dnode_watchdog.h143 static void HandleSignal(int signum, siginfo_t* info, void* ucontext);
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dstacktrace_riscv-inl.inc20 #include <sys/ucontext.h>
25 #include <ucontext.h>
124 // old_frame_pointer is not suitable for unwinding, look at ucontext to
/third_party/musl/porting/linux/user/src/sigchain/
Dsigchain.c187 ucontext_t* ucontext = (ucontext_t*)(ucontext_raw); in signal_chain_handler() local
190 sigorset(&mask, &ucontext->uc_sigmask, &sig_chains[signo - 1].sig_action.sa_mask); in signal_chain_handler()
/third_party/libunwind/include/
Dlibunwind-aarch64.h203 struct ucontext *uc_link;

123