Lines Matching refs:frame1
279 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); in TEST_F() local
280 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F()
285 frame1->context_validity); in TEST_F()
286 EXPECT_EQ(return_address1 - 2 * sizeof(return_address1), frame1->context.epc); in TEST_F()
287 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
355 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); in TEST_F() local
356 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F()
361 frame1->context_validity); in TEST_F()
362 EXPECT_EQ(return_address - 2 * sizeof(return_address), frame1->context.epc); in TEST_F()
363 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
364 EXPECT_EQ("marsupial", frame1->function_name); in TEST_F()
365 EXPECT_EQ(0x00500100U, frame1->function_base); in TEST_F()
426 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); in TEST_F() local
427 EXPECT_EQ(StackFrame::FRAME_TRUST_SCAN, frame1->trust); in TEST_F()
432 frame1->context_validity); in TEST_F()
433 EXPECT_EQ(return_address1 - 2 * sizeof(return_address1), frame1->context.epc); in TEST_F()
434 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
603 StackFrameMIPS* frame1 = static_cast<StackFrameMIPS*>(frames->at(1)); in CheckWalk() local
604 EXPECT_EQ(StackFrame::FRAME_TRUST_CFI, frame1->trust); in CheckWalk()
605 ASSERT_EQ(expected_validity, frame1->context_validity); in CheckWalk()
607 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S0]); in CheckWalk()
609 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S1]); in CheckWalk()
611 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S2]); in CheckWalk()
613 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S3]); in CheckWalk()
615 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S4]); in CheckWalk()
617 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S5]); in CheckWalk()
619 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S6]); in CheckWalk()
621 frame1->context.iregs[MD_CONTEXT_MIPS_REG_S7]); in CheckWalk()
623 frame1->context.iregs[MD_CONTEXT_MIPS_REG_FP]); in CheckWalk()
625 frame1->context.iregs[MD_CONTEXT_MIPS_REG_RA]); in CheckWalk()
627 frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in CheckWalk()
628 EXPECT_EQ(expected.epc, frame1->context.epc); in CheckWalk()
629 EXPECT_EQ(expected.epc, frame1->instruction); in CheckWalk()
630 EXPECT_EQ("epictetus", frame1->function_name); in CheckWalk()
631 EXPECT_EQ(0x00405000U, frame1->function_base); in CheckWalk()