Home
last modified time | relevance | path

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

/system/core/libunwindstack/tests/
DRegsTest.cpp105 TEST_F(RegsTest, regs64) { in TEST_F() argument
106 RegsTestTmpl<uint64_t> regs64(30, 12); in TEST_F() local
107 ASSERT_EQ(30U, regs64.total_regs()); in TEST_F()
108 ASSERT_EQ(12U, regs64.sp_reg()); in TEST_F()
110 uint64_t* raw = reinterpret_cast<uint64_t*>(regs64.RawData()); in TEST_F()
114 regs64.set_pc(0xf123456780102030UL); in TEST_F()
115 regs64.set_sp(0xa123456780a0b0c0UL); in TEST_F()
118 ASSERT_EQ(0xf123456780000000U + i, regs64[i]) << "Failed reading register " << i; in TEST_F()
121 ASSERT_EQ(0xf123456780102030UL, regs64.pc()); in TEST_F()
122 ASSERT_EQ(0xa123456780a0b0c0UL, regs64.sp()); in TEST_F()
[all …]