Home
last modified time | relevance | path

Searched refs:unw_context (Results 1 – 2 of 2) sorted by relevance

/system/core/libbacktrace/
DUnwindCurrent.cpp44 unw_tdep_context_t* unw_context = reinterpret_cast<unw_tdep_context_t*>(&context_); in GetUnwContextFromUcontext() local
47 unw_context->regs[0] = ucontext->uc_mcontext.arm_r0; in GetUnwContextFromUcontext()
48 unw_context->regs[1] = ucontext->uc_mcontext.arm_r1; in GetUnwContextFromUcontext()
49 unw_context->regs[2] = ucontext->uc_mcontext.arm_r2; in GetUnwContextFromUcontext()
50 unw_context->regs[3] = ucontext->uc_mcontext.arm_r3; in GetUnwContextFromUcontext()
51 unw_context->regs[4] = ucontext->uc_mcontext.arm_r4; in GetUnwContextFromUcontext()
52 unw_context->regs[5] = ucontext->uc_mcontext.arm_r5; in GetUnwContextFromUcontext()
53 unw_context->regs[6] = ucontext->uc_mcontext.arm_r6; in GetUnwContextFromUcontext()
54 unw_context->regs[7] = ucontext->uc_mcontext.arm_r7; in GetUnwContextFromUcontext()
55 unw_context->regs[8] = ucontext->uc_mcontext.arm_r8; in GetUnwContextFromUcontext()
[all …]
Dbacktrace_offline_test.cpp30 unw_context_t* unw_context = reinterpret_cast<unw_context_t*>(arg); in GetContextAndExit() local
31 unw_getcontext(unw_context); in GetContextAndExit()
38 unw_context_t unw_context; member
46 fn_arg->function(GetContextAndExit, &fn_arg->unw_context); in OfflineThreadFunc()
50 static ucontext_t GetUContextFromUnwContext(const unw_context_t& unw_context) { in GetUContextFromUnwContext() argument
54 ucontext.uc_mcontext.arm_r0 = unw_context.regs[0]; in GetUContextFromUnwContext()
55 ucontext.uc_mcontext.arm_r1 = unw_context.regs[1]; in GetUContextFromUnwContext()
56 ucontext.uc_mcontext.arm_r2 = unw_context.regs[2]; in GetUContextFromUnwContext()
57 ucontext.uc_mcontext.arm_r3 = unw_context.regs[3]; in GetUContextFromUnwContext()
58 ucontext.uc_mcontext.arm_r4 = unw_context.regs[4]; in GetUContextFromUnwContext()
[all …]