summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/UnwindBacktrace.cpp
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2021-06-18 20:06:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-06-18 20:06:51 +0000
commit5aeffd28678e6c0b1d6ff06de85dc7bf22b5e53d (patch)
treef227dda74458d6728b5ac0ace6f0479a8759d8b0 /libc/malloc_debug/UnwindBacktrace.cpp
parent4c90af54ee40fd5850f3a201fba9f706f9c2619f (diff)
parent0bcd17afeb7a5910cd64f3caae05195be70748bd (diff)
Merge "Merge SP1A.210604.001 Change-Id: Id2e423c8ff6a838a96260a5b919810d4ef11e8db" into s-keystone-qcom-dev
Diffstat (limited to 'libc/malloc_debug/UnwindBacktrace.cpp')
-rw-r--r--libc/malloc_debug/UnwindBacktrace.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/malloc_debug/UnwindBacktrace.cpp b/libc/malloc_debug/UnwindBacktrace.cpp
index 92fb3fa96..128991bd9 100644
--- a/libc/malloc_debug/UnwindBacktrace.cpp
+++ b/libc/malloc_debug/UnwindBacktrace.cpp
@@ -90,14 +90,14 @@ void UnwindLog(const std::vector<unwindstack::LocalFrameData>& frame_info) {
unwindstack::MapInfo* map_info = info->map_info;
std::string line = android::base::StringPrintf(" #%0zd pc %" PAD_PTR " ", i, info->rel_pc);
- if (map_info->offset != 0) {
- line += android::base::StringPrintf("(offset 0x%" PRIx64 ") ", map_info->offset);
+ if (map_info->offset() != 0) {
+ line += android::base::StringPrintf("(offset 0x%" PRIx64 ") ", map_info->offset());
}
- if (map_info->name.empty()) {
- line += android::base::StringPrintf("<anonymous:%" PRIx64 ">", map_info->start);
+ if (map_info->name().empty()) {
+ line += android::base::StringPrintf("<anonymous:%" PRIx64 ">", map_info->start());
} else {
- line += map_info->name;
+ line += map_info->name();
}
if (!info->function_name.empty()) {