Searched refs:prev_real_map (Results 1 – 5 of 5) sorted by relevance
/system/unwinding/libunwindstack/ |
D | MapInfo.cpp | 40 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 set_elf_offset(offset() - prev_real_map()->offset()); in InitFileMemoryFromPreviousReadOnlyMap() 59 set_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() 193 if (offset() == 0 || name().empty() || prev_real_map() == nullptr || in CreateMemory() 194 prev_real_map()->name() != name() || prev_real_map()->offset() >= offset()) { in CreateMemory() [all …]
|
D | Maps.cpp | 64 MapInfo* prev_real_map = nullptr; in Parse() local 73 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, mapinfo.start, mapinfo.end, in Parse() 77 prev_real_map = prev_map; in Parse() 85 MapInfo* prev_real_map = prev_map; in Add() local 86 while (prev_real_map != nullptr && prev_real_map->IsBlank()) { in Add() 87 prev_real_map = prev_real_map->prev_map(); in Add() 91 std::make_unique<MapInfo>(prev_map, prev_real_map, start, end, offset, flags, name); in Add() 104 MapInfo* prev_real_map = nullptr; in Sort() local 107 map_info->set_prev_real_map(prev_real_map); in Sort() 110 prev_real_map = prev_map; in Sort() [all …]
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | MapInfo.h | 41 MapInfo(MapInfo* prev_map, MapInfo* prev_real_map, uint64_t start, uint64_t end, uint64_t offset, in MapInfo() argument 50 prev_real_map_(prev_real_map) { in MapInfo() 51 if (prev_real_map != nullptr) prev_real_map->next_real_map_ = this; in MapInfo() 124 inline MapInfo* prev_real_map() const { return prev_real_map_; } in prev_real_map() function
|
/system/extras/simpleperf/ |
D | OfflineUnwinder_test.cpp | 31 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/unwinding/libunwindstack/tests/ |
D | LocalUpdatableMapsTest.cpp | 322 EXPECT_EQ(maps_.Get(0), map_info->prev_real_map()); in TEST_F() 332 EXPECT_EQ(maps_.Get(2), map_info->prev_real_map()); in TEST_F() 363 EXPECT_EQ(maps_.Get(0), map_info->prev_real_map()); in TEST_F() 373 EXPECT_EQ(maps_.Get(2), map_info->prev_real_map()); in TEST_F() 383 EXPECT_EQ(maps_.Get(4), map_info->prev_real_map()); in TEST_F()
|