Searched refs:threadContext (Results 1 – 2 of 2) sorted by relevance
95 auto threadContext = BacktraceLocalContext::GetInstance().GetThreadContext(tid_); in Unwind() local96 if (threadContext == nullptr) { in Unwind()100 if (threadContext->ctx == nullptr) { in Unwind()108 ret = unwinder.UnwindWithContext(as, *(threadContext->ctx), symbol, skipFrameNum); in Unwind()
44 auto threadContext = std::make_shared<ThreadContext>(); in CreateContext() local45 threadContext->tid = tid; in CreateContext()46 threadContext->ctx = new unw_context_t; in CreateContext()47 (void)memset_s(threadContext->ctx, sizeof(unw_context_t), 0, sizeof(unw_context_t)); in CreateContext()48 return threadContext; in CreateContext()55 auto threadContext = CreateContext(tid); in GetContextLocked() local56 g_contextMap[tid] = threadContext; in GetContextLocked()57 return threadContext; in GetContextLocked()