Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/
DMaps.cpp63 MapInfo* prev_map = nullptr; in Parse() local
73 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, mapinfo.start, mapinfo.end, in Parse()
75 prev_map = maps_.back().get(); in Parse()
76 if (!prev_map->IsBlank()) { in Parse()
77 prev_real_map = prev_map; in Parse()
84 MapInfo* prev_map = maps_.empty() ? nullptr : maps_.back().get(); in Add() local
85 MapInfo* prev_real_map = prev_map; 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()
103 MapInfo* prev_map = nullptr; in Sort() local
[all …]
/system/unwinding/libunwindstack/tests/
DMapInfoTest.cpp31 MapInfo prev_map(nullptr, nullptr, 0, 0, 0, 0, ""); in TEST() local
32 MapInfo map_info(&prev_map, &prev_map, 1, 2, 3, 4, "map"); in TEST()
34 EXPECT_EQ(&prev_map, map_info.prev_map()); in TEST()
47 MapInfo prev_map(nullptr, nullptr, 0, 0, 0, 0, ""); in TEST() local
48 MapInfo map_info(&prev_map, &prev_map, 1, 2, 3, 4, name); in TEST()
50 EXPECT_EQ(&prev_map, map_info.prev_map()); in TEST()
DLocalUpdatableMapsTest.cpp293 EXPECT_EQ(maps_.Get(1), map_info->prev_map()); in TEST_F()
323 EXPECT_EQ(maps_.Get(1), map_info->prev_map()); in TEST_F()
333 EXPECT_EQ(maps_.Get(2), map_info->prev_map()); in TEST_F()
362 EXPECT_EQ(maps_.Get(1), map_info->prev_map()); in TEST_F()
372 EXPECT_EQ(maps_.Get(3), map_info->prev_map()); in TEST_F()
382 EXPECT_EQ(maps_.Get(4), map_info->prev_map()); in TEST_F()
/system/unwinding/libunwindstack/tools/
Dunwind_for_offline.cpp285 unwindstack::MapInfo* prev_map = map_info->prev_map(); in SaveData() local
286 if (prev_map != nullptr && map_info->offset() != 0 && prev_map->offset() == 0 && in SaveData()
287 prev_map->flags() == PROT_READ && map_info->name() == prev_map->name() && in SaveData()
288 maps_by_start.count(prev_map->start()) == 0) { in SaveData()
289 info = FillInAndGetMapInfo(maps_by_start, prev_map); in SaveData()
/system/unwinding/libunwindstack/include/unwindstack/
DMapInfo.h41 MapInfo(MapInfo* prev_map, MapInfo* prev_real_map, uint64_t start, uint64_t end, uint64_t offset, in MapInfo() argument
49 prev_map_(prev_map), in MapInfo()
121 inline MapInfo* prev_map() const { return prev_map_; } in prev_map() function