Home
last modified time | relevance | path

Searched refs:initial_regs (Results 1 – 5 of 5) sorted by relevance

/system/unwinding/libunwindstack/
DAndroidUnwinder.cpp149 bool AndroidUnwinder::Unwind(Regs* initial_regs, AndroidUnwinderData& data) { in Unwind() argument
150 if (initial_regs == nullptr) { in Unwind()
159 if (arch_ != initial_regs->Arch()) { in Unwind()
164 std::unique_ptr<Regs> regs(initial_regs->Clone()); in Unwind()
166 (*data.saved_initial_regs).reset(initial_regs->Clone()); in Unwind()
194 std::unique_ptr<Regs>* initial_regs = nullptr; in InternalUnwind() local
196 initial_regs = &data.saved_initial_regs.value(); in InternalUnwind()
198 unwinder.UnwindWithSignal(kThreadUnwindSignal, *tid, initial_regs, in InternalUnwind()
DThreadUnwinder.cpp149 void ThreadUnwinder::UnwindWithSignal(int signal, pid_t tid, std::unique_ptr<Regs>* initial_regs, in UnwindWithSignal() argument
168 if (initial_regs != nullptr) { in UnwindWithSignal()
169 initial_regs->reset(regs->Clone()); in UnwindWithSignal()
/system/unwinding/libunwindstack/tests/
DUnwindTest.cpp503 std::unique_ptr<Regs> initial_regs; in TEST_F() local
504 unwinder.UnwindWithSignal(SIGRTMIN, tid, &initial_regs); in TEST_F()
505 ASSERT_TRUE(initial_regs != nullptr); in TEST_F()
509 ASSERT_EQ(initial_regs->pc(), initial_frame.pc); in TEST_F()
510 ASSERT_EQ(initial_regs->sp(), initial_frame.sp); in TEST_F()
/system/unwinding/libunwindstack/include/unwindstack/
DAndroidUnwinder.h86 bool Unwind(Regs* initial_regs, AndroidUnwinderData& data);
DUnwinder.h190 void UnwindWithSignal(int signal, pid_t tid, std::unique_ptr<Regs>* initial_regs = nullptr,