diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-30 10:01:22 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-30 10:01:22 +0000 |
commit | 0a96c69b1cc590982da826cd28e5ae4ea916c96f (patch) | |
tree | 0b54317ff0c75bef86b4b22e9b997d801a3e606d /libc/malloc_debug/UnwindBacktrace.cpp | |
parent | c0fa380b2a08a30c323b26ed749495b1f36d8be6 (diff) | |
parent | f30ccc297ab4b5b91fe3eb7efa9f568dccb1919c (diff) |
Snap for 7508253 from f30ccc297ab4b5b91fe3eb7efa9f568dccb1919c to s-keystone-qcom-release
Change-Id: I96cd2124840debe5e222b713b396da434a34334a
Diffstat (limited to 'libc/malloc_debug/UnwindBacktrace.cpp')
-rw-r--r-- | libc/malloc_debug/UnwindBacktrace.cpp | 10 |
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()) { |