Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DMapInfo.cpp40 if (prev_real_map == nullptr || prev_real_map->flags != PROT_READ) { in InitFileMemoryFromPreviousReadOnlyMap()
44 uint64_t map_size = end - prev_real_map->end; in InitFileMemoryFromPreviousReadOnlyMap()
45 if (!memory->Init(name, prev_real_map->offset, map_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
54 if (!memory->Init(name, prev_real_map->offset, max_size)) { in InitFileMemoryFromPreviousReadOnlyMap()
58 elf_offset = offset - prev_real_map->offset; in InitFileMemoryFromPreviousReadOnlyMap()
59 elf_start_offset = prev_real_map->offset; in InitFileMemoryFromPreviousReadOnlyMap()
115 if (prev_real_map == nullptr || prev_real_map->offset != 0 || in GetFileMemory()
116 prev_real_map->flags != PROT_READ || prev_real_map->name != name) { in GetFileMemory()
175 if (offset == 0 || name.empty() || prev_real_map == nullptr || prev_real_map->name != name || in CreateMemory()
176 prev_real_map->offset >= offset) { in CreateMemory()
[all …]
DMaps.cpp64 MapInfo* prev_real_map = nullptr; in Parse() local
72 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse()
75 prev_real_map = prev_map; in Parse()
83 MapInfo* prev_real_map = prev_map; in Add() local
84 while (prev_real_map != nullptr && prev_real_map->IsBlank()) { in Add()
85 prev_real_map = prev_real_map->prev_map; in Add()
89 std::make_unique<MapInfo>(prev_map, prev_real_map, start, end, offset, flags, name); in Add()
101 MapInfo* prev_real_map = nullptr; in Sort() local
104 map_info->prev_real_map = prev_real_map; in Sort()
107 prev_real_map = prev_map; in Sort()
[all …]
/system/core/libunwindstack/include/unwindstack/
DMapInfo.h34 MapInfo(MapInfo* prev_map, MapInfo* prev_real_map, uint64_t start, uint64_t end, uint64_t offset, in MapInfo()
42 prev_real_map(prev_real_map), in MapInfo()
45 MapInfo(MapInfo* prev_map, MapInfo* prev_real_map, uint64_t start, uint64_t end, uint64_t offset, in MapInfo()
53 prev_real_map(prev_real_map), in MapInfo()
83 MapInfo* prev_real_map = nullptr; member
/system/extras/simpleperf/
DOfflineUnwinder_test.cpp31 unwindstack::MapInfo* prev_real_map = nullptr; in CheckUnwindMaps() local
37 if (info->prev_real_map != prev_real_map) { in CheckUnwindMaps()
41 prev_real_map = info; in CheckUnwindMaps()
/system/core/libunwindstack/tests/
DLocalUpdatableMapsTest.cpp315 EXPECT_EQ(maps_.Get(0), map_info->prev_real_map); in TEST_F()
325 EXPECT_EQ(maps_.Get(2), map_info->prev_real_map); in TEST_F()
350 EXPECT_EQ(maps_.Get(0), map_info->prev_real_map); in TEST_F()
360 EXPECT_EQ(maps_.Get(2), map_info->prev_real_map); in TEST_F()
370 EXPECT_EQ(maps_.Get(4), map_info->prev_real_map); in TEST_F()
DMapInfoCreateMemoryTest.cpp134 info.prev_real_map = &prev_info; in TEST_F()