Home
last modified time | relevance | path

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

/system/unwinding/libbacktrace/
Dbacktrace_test.cpp328 static void VerifyIgnoreFrames(Backtrace* bt_all, Backtrace* bt_ign1, Backtrace* bt_ign2, in VerifyIgnoreFrames() argument
334 ASSERT_EQ(bt_all->NumFrames(), bt_ign2->NumFrames() + 2) << "All backtrace:\n" in VerifyIgnoreFrames()
337 << DumpFrames(bt_ign2); in VerifyIgnoreFrames()
341 for (size_t i = 0; i < bt_ign2->NumFrames(); i++) { in VerifyIgnoreFrames()
343 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_ign1->GetFrame(i+1)->pc); in VerifyIgnoreFrames()
344 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_ign1->GetFrame(i+1)->sp); in VerifyIgnoreFrames()
345 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_ign1->GetFrame(i+1)->stack_size); in VerifyIgnoreFrames()
347 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_all->GetFrame(i+2)->pc); in VerifyIgnoreFrames()
348 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_all->GetFrame(i+2)->sp); in VerifyIgnoreFrames()
349 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_all->GetFrame(i+2)->stack_size); in VerifyIgnoreFrames()
[all …]