Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/
DMapInfo.cpp79 auto prev_real_map = GetPrevRealMap(); in InitFileMemoryFromPreviousReadOnlyMap() local
80 if (prev_real_map == nullptr || prev_real_map->flags() != PROT_READ || in InitFileMemoryFromPreviousReadOnlyMap()
81 prev_real_map->offset() >= offset()) { in InitFileMemoryFromPreviousReadOnlyMap()
85 uint64_t map_size = end() - prev_real_map->end(); in InitFileMemoryFromPreviousReadOnlyMap()
86 if (!memory->Init(name(), prev_real_map->offset(), map_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
95 if (!memory->Init(name(), prev_real_map->offset(), max_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
99 set_elf_offset(offset() - prev_real_map->offset()); in InitFileMemoryFromPreviousReadOnlyMap()
100 set_elf_start_offset(prev_real_map->offset()); in InitFileMemoryFromPreviousReadOnlyMap()
237 auto prev_real_map = GetPrevRealMap(); in CreateMemory() local
243 if (offset() == 0 || prev_real_map == nullptr || prev_real_map->offset() >= offset()) { in CreateMemory()
[all …]
/system/extras/simpleperf/
DOfflineUnwinder_test.cpp31 std::shared_ptr<unwindstack::MapInfo> prev_real_map; in CheckUnwindMaps() local
36 if (prev_real_map != nullptr && prev_real_map->name() == info->name() && in CheckUnwindMaps()
37 prev_real_map != info->GetPrevRealMap()) { in CheckUnwindMaps()
41 prev_real_map = info; in CheckUnwindMaps()