summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-10-03 14:14:36 -0700
committerChristopher Ferris <cferris@google.com>2018-10-03 14:16:42 -0700
commit2fed0f15679eeb5fa6ba39cd21124ea19235f039 (patch)
tree146b8e8bf5c2d051c2d6e0beb435dc49fd78b36a
parente402db97a8db70aa04c1d226d52377251f352021 (diff)
downloadextras-2fed0f15679eeb5fa6ba39cd21124ea19235f039.tar.gz
Add new parameter for creation of MapInfo object.
Bug: 109657296 Test: Unit tests pass. Change-Id: Ifa7ac689467b10728bfbbbfae0c6f78b20b78cda
-rw-r--r--simpleperf/OfflineUnwinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/OfflineUnwinder.cpp b/simpleperf/OfflineUnwinder.cpp
index 25a4914b..55b46e2b 100644
--- a/simpleperf/OfflineUnwinder.cpp
+++ b/simpleperf/OfflineUnwinder.cpp
@@ -131,7 +131,7 @@ static unwindstack::MapInfo* CreateMapInfo(const MapEntry* entry) {
}
}
}
- return new unwindstack::MapInfo(entry->start_addr, entry->get_end_addr(), pgoff,
+ return new unwindstack::MapInfo(nullptr, entry->start_addr, entry->get_end_addr(), pgoff,
PROT_READ | PROT_EXEC | entry->flags, name);
}