Home
last modified time | relevance | path

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

/system/core/libunwindstack/tests/
DElfCacheTest.cpp140 EXPECT_EQ(0U, info0_1.elf_offset); in VerifyWithinSameMap()
141 EXPECT_EQ(0U, info0_2.elf_offset); in VerifyWithinSameMap()
154 EXPECT_EQ(0U, info100_1.elf_offset); in VerifyWithinSameMap()
155 EXPECT_EQ(0U, info100_2.elf_offset); in VerifyWithinSameMap()
168 EXPECT_EQ(0U, info200_1.elf_offset); in VerifyWithinSameMap()
169 EXPECT_EQ(0U, info200_2.elf_offset); in VerifyWithinSameMap()
182 EXPECT_EQ(0x300U, info300_1.elf_offset); in VerifyWithinSameMap()
183 EXPECT_EQ(0x300U, info300_2.elf_offset); in VerifyWithinSameMap()
230 EXPECT_EQ(0x300U, info300_1.elf_offset); in VerifyWithinSameMapNeverReadAtZero()
231 EXPECT_EQ(0x300U, info300_2.elf_offset); in VerifyWithinSameMapNeverReadAtZero()
[all …]
DMapInfoCreateMemoryTest.cpp122 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F()
143 info.elf_offset = 0; in TEST_F()
149 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F()
153 info.elf_offset = 0; in TEST_F()
159 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F()
163 info.elf_offset = 0; in TEST_F()
169 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F()
173 info.elf_offset = 0; in TEST_F()
179 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F()
191 ASSERT_EQ(0U, info.elf_offset); in TEST_F()
[all …]
DMapInfoTest.cpp39 EXPECT_EQ(0UL, map_info.elf_offset); in TEST()
55 EXPECT_EQ(0UL, map_info.elf_offset); in TEST()
DMapInfoGetElfTest.cpp198 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F()
227 ASSERT_EQ(0U, info.elf_offset); in TEST_F()
260 ASSERT_EQ(0U, info.elf_offset); in TEST_F()
288 ASSERT_EQ(0U, info.elf_offset); in TEST_F()
DMapsTest.cpp42 info->elf_offset = element->elf_offset; in VerifyLine()
60 ASSERT_EQ(0U, info->elf_offset); in TEST()
80 ASSERT_EQ(0U, info->elf_offset); in TEST()
DUnwinderTest.cpp109 info2->elf_offset = 0x8000; in SetUpTestCase()
/system/core/libunwindstack/
DMapInfo.cpp55 elf_offset = offset - prev_map->offset; in InitFileMemoryFromPreviousReadOnlyMap()
108 elf_offset = offset; in GetFileMemory()
138 elf_offset = 0; in CreateMemory()
178 elf_offset = offset - prev_map->offset; in CreateMemory()
186 ranges->Insert(new MemoryRange(process_memory, start, end - start, elf_offset)); in CreateMemory()
DElf.cpp105 return pc - map_info->start + load_bias_ + map_info->elf_offset; in GetRelPc()
348 if (info->offset == 0 || info->elf_offset != 0) { in CacheAdd()
356 std::make_pair(info->elf, info->elf_offset != 0); in CacheAdd()
361 if (info->name.empty() || info->offset == 0 || info->elf_offset == 0) { in CacheAfterCreateMemory()
387 info->elf_offset = info->offset; in CacheGet()
/system/core/libunwindstack/include/unwindstack/
DMapInfo.h63 uint64_t elf_offset = 0; member