Home
last modified time | relevance | path

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

/system/core/libbacktrace/
DUnwindCurrent.cpp55 unw_tdep_context_t* unw_context = reinterpret_cast<unw_tdep_context_t*>(&context_); in GetUnwContextFromUcontext() local
58 unw_context->regs[0] = ucontext->uc_mcontext.arm_r0; in GetUnwContextFromUcontext()
59 unw_context->regs[1] = ucontext->uc_mcontext.arm_r1; in GetUnwContextFromUcontext()
60 unw_context->regs[2] = ucontext->uc_mcontext.arm_r2; in GetUnwContextFromUcontext()
61 unw_context->regs[3] = ucontext->uc_mcontext.arm_r3; in GetUnwContextFromUcontext()
62 unw_context->regs[4] = ucontext->uc_mcontext.arm_r4; in GetUnwContextFromUcontext()
63 unw_context->regs[5] = ucontext->uc_mcontext.arm_r5; in GetUnwContextFromUcontext()
64 unw_context->regs[6] = ucontext->uc_mcontext.arm_r6; in GetUnwContextFromUcontext()
65 unw_context->regs[7] = ucontext->uc_mcontext.arm_r7; in GetUnwContextFromUcontext()
66 unw_context->regs[8] = ucontext->uc_mcontext.arm_r8; in GetUnwContextFromUcontext()
[all …]
Dbacktrace_offline_test.cpp45 void test_get_context_and_wait(unw_context_t* unw_context, volatile int* exit_flag);
48 static ucontext_t GetUContextFromUnwContext(const unw_context_t& unw_context) { in GetUContextFromUnwContext() argument
52 ucontext.uc_mcontext.arm_r0 = unw_context.regs[0]; in GetUContextFromUnwContext()
53 ucontext.uc_mcontext.arm_r1 = unw_context.regs[1]; in GetUContextFromUnwContext()
54 ucontext.uc_mcontext.arm_r2 = unw_context.regs[2]; in GetUContextFromUnwContext()
55 ucontext.uc_mcontext.arm_r3 = unw_context.regs[3]; in GetUContextFromUnwContext()
56 ucontext.uc_mcontext.arm_r4 = unw_context.regs[4]; in GetUContextFromUnwContext()
57 ucontext.uc_mcontext.arm_r5 = unw_context.regs[5]; in GetUContextFromUnwContext()
58 ucontext.uc_mcontext.arm_r6 = unw_context.regs[6]; in GetUContextFromUnwContext()
59 ucontext.uc_mcontext.arm_r7 = unw_context.regs[7]; in GetUContextFromUnwContext()
[all …]
Dbacktrace_testlib.cpp69 unw_context_t* unw_context; member
75 unw_getcontext(arg->unw_context); in GetContextAndExit()
81 void test_get_context_and_wait(unw_context_t* unw_context, volatile int* exit_flag) { in test_get_context_and_wait() argument
83 arg.unw_context = unw_context; in test_get_context_and_wait()