summaryrefslogtreecommitdiffstats
path: root/libbacktrace
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-05-06 12:50:09 -0700
committerChristopher Ferris <cferris@google.com>2015-05-06 16:35:50 -0700
commitaf67fb247540ef084a0b644e1d3bf225db4de6bd (patch)
treebf4eb96ccc6d24c3e28e9aa47829c5191d814371 /libbacktrace
parentac725c12da8a67ca33d10c7b6131f8f543ed4449 (diff)
downloadsystem_core-af67fb247540ef084a0b644e1d3bf225db4de6bd.zip
system_core-af67fb247540ef084a0b644e1d3bf225db4de6bd.tar.gz
system_core-af67fb247540ef084a0b644e1d3bf225db4de6bd.tar.bz2
Add offset to map data.
Also, print the offset in the maps section. Bug: 20864928 Change-Id: I71f005726e5ef73cf75bbcb8f829fd5127cb9d61 (cherry picked from commit 5c8856854de4ae7836fc1073d534f4b7b7a03eb9)
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/UnwindMap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbacktrace/UnwindMap.cpp b/libbacktrace/UnwindMap.cpp
index 4a4e2f3..879fea5 100644
--- a/libbacktrace/UnwindMap.cpp
+++ b/libbacktrace/UnwindMap.cpp
@@ -51,6 +51,7 @@ bool UnwindMap::GenerateMap() {
map.start = unw_map.start;
map.end = unw_map.end;
+ map.offset = unw_map.offset;
map.load_base = unw_map.load_base;
map.flags = unw_map.flags;
map.name = unw_map.path;
@@ -92,6 +93,7 @@ bool UnwindMapLocal::GenerateMap() {
map.start = unw_map.start;
map.end = unw_map.end;
+ map.offset = unw_map.offset;
map.load_base = unw_map.load_base;
map.flags = unw_map.flags;
map.name = unw_map.path;