Home
last modified time | relevance | path

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

/system/core/libunwindstack/tests/
DRegsTest.cpp96 EXPECT_EQ(4U, GetPcAdjustment(0x10, elf_.get(), ARCH_ARM64)); in TEST_F()
97 EXPECT_EQ(4U, GetPcAdjustment(0x4, elf_.get(), ARCH_ARM64)); in TEST_F()
98 EXPECT_EQ(0U, GetPcAdjustment(0x3, elf_.get(), ARCH_ARM64)); in TEST_F()
99 EXPECT_EQ(0U, GetPcAdjustment(0x2, elf_.get(), ARCH_ARM64)); in TEST_F()
100 EXPECT_EQ(0U, GetPcAdjustment(0x1, elf_.get(), ARCH_ARM64)); in TEST_F()
101 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_ARM64)); in TEST_F()
103 EXPECT_EQ(1U, GetPcAdjustment(0x100, elf_.get(), ARCH_X86)); in TEST_F()
104 EXPECT_EQ(1U, GetPcAdjustment(0x2, elf_.get(), ARCH_X86)); in TEST_F()
105 EXPECT_EQ(1U, GetPcAdjustment(0x1, elf_.get(), ARCH_X86)); in TEST_F()
106 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_X86)); in TEST_F()
[all …]
/system/core/libunwindstack/
DRegs.cpp124 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment() function
DLocalUnwinder.cpp109 pc_adjustment = GetPcAdjustment(rel_pc, elf, arch); in Unwind()
DUnwinder.cpp184 pc_adjustment = GetPcAdjustment(rel_pc, elf, arch); in Unwind()
413 uint64_t pc_adjustment = GetPcAdjustment(relative_pc, elf, arch); in BuildFrameFromPcOnly()
/system/core/libunwindstack/include/unwindstack/
DRegs.h115 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch);