summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/UnwindBacktrace.cpp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-29 16:22:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-29 16:22:10 +0000
commitc0fa380b2a08a30c323b26ed749495b1f36d8be6 (patch)
tree3d942a3ac6295515b8e322cd5d6ac6a7dc81bb09 /libc/malloc_debug/UnwindBacktrace.cpp
parentaf1f724947d8a37c13e6e7163ba35481b8ba4dcc (diff)
parent5af6b7975694b08e8e363e9435990f248fbb39ca (diff)
Snap for 7441201 from 5af6b7975694b08e8e363e9435990f248fbb39ca to s-keystone-qcom-release
Change-Id: Ia74024ee27474e3df8196cf7de426c84561361dd
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 128991bd9..92fb3fa96 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()) {