summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/native_stack_dump.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/native_stack_dump.cc b/runtime/native_stack_dump.cc
index 099d77edaa..4d4bab764c 100644
--- a/runtime/native_stack_dump.cc
+++ b/runtime/native_stack_dump.cc
@@ -345,6 +345,9 @@ void DumpNativeStack(std::ostream& os,
} else {
os << it->map.name;
}
+ if (it->map.offset != 0) {
+ os << StringPrintf(" (offset %" PRIx64 ")", it->map.offset);
+ }
os << " (";
if (!it->func_name.empty()) {
os << it->func_name;