Home
last modified time | relevance | path

Searched refs:mcontext (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
H A Dcpu_profiler.cpp422 [[maybe_unused]] mcontext_t &mcontext = ucontext->uc_mcontext; in GetStackSignalHandler() local
426 fp = reinterpret_cast<void*>(mcontext.gregs[REG_RBP]); in GetStackSignalHandler()
427 sp = reinterpret_cast<void*>(mcontext.gregs[REG_RSP]); in GetStackSignalHandler()
429 fp = reinterpret_cast<void*>(mcontext.regs[29]); // FP is an alias for x29. in GetStackSignalHandler()
430 sp = reinterpret_cast<void*>(mcontext.sp); in GetStackSignalHandler()
498 [[maybe_unused]] mcontext_t &mcontext = ucontext->uc_mcontext; in GetPcFromContext() local
501 pc = static_cast<uint64_t>(mcontext.gregs[REG_RIP]); in GetPcFromContext()
503 pc = static_cast<uint64_t>(mcontext.pc); in GetPcFromContext()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
H A Daot_crash_info.cpp28 [[maybe_unused]] mcontext_t &mcontext = ucontext->uc_mcontext; in GetSignalHandler() local
31 pc = static_cast<uintptr_t>(mcontext.gregs[REG_RIP]); in GetSignalHandler()
33 pc = static_cast<uintptr_t>(mcontext.pc); in GetSignalHandler()

Completed in 3 milliseconds