Home
last modified time | relevance | path

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

/system/core/libbacktrace/
Dbacktrace_test.cpp245 Backtrace* bt_ign2, const char* cur_proc) { in VerifyIgnoreFrames() argument
248 EXPECT_EQ(bt_all->NumFrames(), bt_ign2->NumFrames() + 2) in VerifyIgnoreFrames()
249 << "All backtrace:\n" << DumpFrames(bt_all) << "Ignore 2 backtrace:\n" << DumpFrames(bt_ign2); in VerifyIgnoreFrames()
253 for (size_t i = 0; i < bt_ign2->NumFrames(); i++) { in VerifyIgnoreFrames()
255 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_ign1->GetFrame(i+1)->pc); in VerifyIgnoreFrames()
256 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_ign1->GetFrame(i+1)->sp); in VerifyIgnoreFrames()
257 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_ign1->GetFrame(i+1)->stack_size); in VerifyIgnoreFrames()
259 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_all->GetFrame(i+2)->pc); in VerifyIgnoreFrames()
260 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_all->GetFrame(i+2)->sp); in VerifyIgnoreFrames()
261 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_all->GetFrame(i+2)->stack_size); in VerifyIgnoreFrames()
[all …]