Lines Matching refs:GetAdjustedPc

59   uint64_t GetAdjustedPc(uint64_t, Elf*) { return 0; }  in GetAdjustedPc()  function in RegsTestTmpl
188 ASSERT_EQ(0xcU, arm64.GetAdjustedPc(0x10, elf_.get())); in TEST_F()
189 ASSERT_EQ(0x0U, arm64.GetAdjustedPc(0x4, elf_.get())); in TEST_F()
190 ASSERT_EQ(0x3U, arm64.GetAdjustedPc(0x3, elf_.get())); in TEST_F()
191 ASSERT_EQ(0x2U, arm64.GetAdjustedPc(0x2, elf_.get())); in TEST_F()
192 ASSERT_EQ(0x1U, arm64.GetAdjustedPc(0x1, elf_.get())); in TEST_F()
193 ASSERT_EQ(0x0U, arm64.GetAdjustedPc(0x0, elf_.get())); in TEST_F()
196 ASSERT_EQ(0xffU, x86.GetAdjustedPc(0x100, elf_.get())); in TEST_F()
197 ASSERT_EQ(0x1U, x86.GetAdjustedPc(0x2, elf_.get())); in TEST_F()
198 ASSERT_EQ(0x0U, x86.GetAdjustedPc(0x1, elf_.get())); in TEST_F()
199 ASSERT_EQ(0x0U, x86.GetAdjustedPc(0x0, elf_.get())); in TEST_F()
202 ASSERT_EQ(0xffU, x86_64.GetAdjustedPc(0x100, elf_.get())); in TEST_F()
203 ASSERT_EQ(0x1U, x86_64.GetAdjustedPc(0x2, elf_.get())); in TEST_F()
204 ASSERT_EQ(0x0U, x86_64.GetAdjustedPc(0x1, elf_.get())); in TEST_F()
205 ASSERT_EQ(0x0U, x86_64.GetAdjustedPc(0x0, elf_.get())); in TEST_F()
213 ASSERT_EQ(3U, arm.GetAdjustedPc(0x5, elf_.get())); in TEST_F()
214 ASSERT_EQ(4U, arm.GetAdjustedPc(0x4, elf_.get())); in TEST_F()
215 ASSERT_EQ(3U, arm.GetAdjustedPc(0x3, elf_.get())); in TEST_F()
216 ASSERT_EQ(2U, arm.GetAdjustedPc(0x2, elf_.get())); in TEST_F()
217 ASSERT_EQ(1U, arm.GetAdjustedPc(0x1, elf_.get())); in TEST_F()
218 ASSERT_EQ(0U, arm.GetAdjustedPc(0x0, elf_.get())); in TEST_F()
221 ASSERT_EQ(0xffU, arm.GetAdjustedPc(0xff, elf_.get())); in TEST_F()
222 ASSERT_EQ(0x103U, arm.GetAdjustedPc(0x105, elf_.get())); in TEST_F()
223 ASSERT_EQ(0x104U, arm.GetAdjustedPc(0x104, elf_.get())); in TEST_F()
224 ASSERT_EQ(0x103U, arm.GetAdjustedPc(0x103, elf_.get())); in TEST_F()
225 ASSERT_EQ(0x102U, arm.GetAdjustedPc(0x102, elf_.get())); in TEST_F()
226 ASSERT_EQ(0x101U, arm.GetAdjustedPc(0x101, elf_.get())); in TEST_F()
227 ASSERT_EQ(0x100U, arm.GetAdjustedPc(0x100, elf_.get())); in TEST_F()
232 ASSERT_EQ(0x2003U, arm.GetAdjustedPc(0x2005, elf_.get())); in TEST_F()
234 ASSERT_EQ(0x2001U, arm.GetAdjustedPc(0x2005, elf_.get())); in TEST_F()
238 ASSERT_EQ(0x2503U, arm.GetAdjustedPc(0x2505, elf_.get())); in TEST_F()
240 ASSERT_EQ(0x2501U, arm.GetAdjustedPc(0x2505, elf_.get())); in TEST_F()
253 ASSERT_EQ(0x500U, regs_arm.GetAdjustedPc(0x500U, &invalid_elf)); in TEST_F()
257 ASSERT_EQ(0x600U, regs_arm64.GetAdjustedPc(0x600U, &invalid_elf)); in TEST_F()
261 ASSERT_EQ(0x700U, regs_x86.GetAdjustedPc(0x700U, &invalid_elf)); in TEST_F()
265 ASSERT_EQ(0x800U, regs_x86_64.GetAdjustedPc(0x800U, &invalid_elf)); in TEST_F()