Home
last modified time | relevance | path

Searched refs:prev_map (Results 1 – 6 of 6) sorted by relevance

/system/core/libunwindstack/
DMapInfo.cpp37 if (prev_map == nullptr || prev_map->flags != PROT_READ) { in InitFileMemoryFromPreviousReadOnlyMap()
41 uint64_t map_size = end - prev_map->end; in InitFileMemoryFromPreviousReadOnlyMap()
42 if (!memory->Init(name, prev_map->offset, map_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
51 if (!memory->Init(name, prev_map->offset, max_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
55 elf_offset = offset - prev_map->offset; in InitFileMemoryFromPreviousReadOnlyMap()
56 elf_start_offset = prev_map->offset; in InitFileMemoryFromPreviousReadOnlyMap()
112 if (prev_map == nullptr || prev_map->offset != 0 || prev_map->flags != PROT_READ || in GetFileMemory()
113 prev_map->name != name) { in GetFileMemory()
172 if (offset == 0 || name.empty() || prev_map == nullptr || prev_map->name != name || in CreateMemory()
173 prev_map->offset >= offset) { in CreateMemory()
[all …]
DMaps.cpp91 MapInfo* prev_map = nullptr; in Sort() local
93 map_info->prev_map = prev_map; in Sort()
94 prev_map = map_info.get(); in Sort()
/system/core/libunwindstack/tests/
DMapInfoTest.cpp29 MapInfo prev_map(nullptr, 0, 0, 0, 0, ""); in TEST() local
30 MapInfo map_info(&prev_map, 1, 2, 3, 4, "map"); in TEST()
32 EXPECT_EQ(&prev_map, map_info.prev_map); in TEST()
45 MapInfo prev_map(nullptr, 0, 0, 0, 0, ""); in TEST() local
46 MapInfo map_info(&prev_map, 1, 2, 3, 4, name); in TEST()
48 EXPECT_EQ(&prev_map, map_info.prev_map); in TEST()
DMapInfoCreateMemoryTest.cpp139 info.prev_map = &prev_info; in TEST_F()
/system/core/libunwindstack/include/unwindstack/
DMapInfo.h40 prev_map(map_info), in MapInfo()
50 prev_map(map_info), in MapInfo()
69 MapInfo* prev_map = nullptr; member
/system/core/libunwindstack/tools/
Dunwind_for_offline.cpp286 unwindstack::MapInfo* prev_map = map_info->prev_map; in SaveData() local
287 if (prev_map != nullptr && map_info->offset != 0 && prev_map->offset == 0 && in SaveData()
288 prev_map->flags == PROT_READ && map_info->name == prev_map->name && in SaveData()
289 maps_by_start.count(prev_map->start) == 0) { in SaveData()
290 info = FillInAndGetMapInfo(maps_by_start, prev_map); in SaveData()