Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DElfCacheTest.cpp146 EXPECT_EQ(0U, maps_->Find(0x5000)->elf_start_offset()); in TEST_F()
151 EXPECT_EQ(0U, maps_->Find(0x10000)->elf_start_offset()); in TEST_F()
156 EXPECT_EQ(0U, maps_->Find(0x11000)->elf_start_offset()); in TEST_F()
161 EXPECT_EQ(0U, maps_->Find(0x12000)->elf_start_offset()); in TEST_F()
166 EXPECT_EQ(0U, maps_->Find(0x13000)->elf_start_offset()); in TEST_F()
176 EXPECT_EQ(0U, maps_->Find(0x12000)->elf_start_offset()); in TEST_F()
186 EXPECT_EQ(0U, maps_->Find(0x13000)->elf_start_offset()); in TEST_F()
196 EXPECT_EQ(0U, maps_->Find(0x12000)->elf_start_offset()); in TEST_F()
206 EXPECT_EQ(0U, maps_->Find(0x13000)->elf_start_offset()); in TEST_F()
223 EXPECT_EQ(0x4000U, maps_->Find(0xa000)->elf_start_offset()); in TEST_F()
[all …]
DMapInfoCreateMemoryTest.cpp117 EXPECT_EQ(0U, info->elf_start_offset()); in TEST_F()
144 EXPECT_EQ(0U, info->elf_start_offset()); in TEST_F()
154 EXPECT_EQ(0U, info->elf_start_offset()); in TEST_F()
164 EXPECT_EQ(0U, info->elf_start_offset()); in TEST_F()
174 EXPECT_EQ(0U, info->elf_start_offset()); in TEST_F()
186 EXPECT_EQ(0x1000U, info->elf_start_offset()); in TEST_F()
211 EXPECT_EQ(0x1000U, info->elf_start_offset()); in TEST_F()
229 EXPECT_EQ(0x2000U, info->elf_start_offset()); in TEST_F()
304 EXPECT_EQ(0U, map_info->elf_start_offset()); in TEST_F()
351 EXPECT_EQ(0xa000UL, map_info->elf_start_offset()); in TEST_F()
[all …]
DUnwinderTest.cpp224 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
241 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
258 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
295 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
312 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
329 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
361 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
393 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
425 EXPECT_EQ(0x1d000U, frame->map_info->elf_start_offset()); in TEST_F()
464 EXPECT_EQ(0U, frame->map_info->elf_start_offset()); in TEST_F()
[all …]
/system/unwinding/libunwindstack/
DElf.cpp373 (*cache_)[std::string(info->name())].emplace(info->elf_start_offset(), info->elf()); in CacheAdd()
384 uint64_t elf_start_offset = 0; in CacheGet() local
385 auto entry = offset_cache.find(elf_start_offset); in CacheGet()
388 elf_start_offset = info->offset(); in CacheGet()
389 entry = offset_cache.find(elf_start_offset); in CacheGet()
401 elf_start_offset = prev_map->offset(); in CacheGet()
402 entry = offset_cache.find(elf_start_offset); in CacheGet()
410 info->set_elf_start_offset(elf_start_offset); in CacheGet()
411 info->set_elf_offset(info->offset() - elf_start_offset); in CacheGet()
DMapInfo.cpp316 prev_real_map->set_elf_start_offset(elf_start_offset()); in GetElf()
317 prev_real_map->set_elf_offset(prev_real_map->offset() - elf_start_offset()); in GetElf()
318 } else if (prev_real_map->elf_start_offset() == elf_start_offset()) { in GetElf()
390 if (elf_obj == nullptr || elf_start_offset() == 0 || name().empty()) { in GetFullName()
DUnwinder.cpp323 if (map_info != nullptr && map_info->elf_start_offset() != 0) { in FormatFrame()
324 data += android::base::StringPrintf(" (offset 0x%" PRIx64 ")", map_info->elf_start_offset()); in FormatFrame()
/system/unwinding/libunwindstack/include/unwindstack/
DMapInfo.h159 inline uint64_t elf_start_offset() { return GetElfFields().elf_start_offset_; } in elf_start_offset() function
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto.cpp399 f->set_file_map_offset(frame.map_info->elf_start_offset()); in fill_in_backtrace_frame()