diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-19 10:00:45 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-19 10:00:45 +0000 |
commit | 7ee335c95f102ae222f2118bc17d3039b48a3ea0 (patch) | |
tree | f227dda74458d6728b5ac0ace6f0479a8759d8b0 /libc/malloc_debug/UnwindBacktrace.cpp | |
parent | a3f1238f32ff3d564ef148eed68353bd09ed5800 (diff) | |
parent | 5aeffd28678e6c0b1d6ff06de85dc7bf22b5e53d (diff) |
Snap for 7473492 from 5aeffd28678e6c0b1d6ff06de85dc7bf22b5e53d to s-keystone-qcom-release
Change-Id: I78c39c0b7093faa0336ed035d5e466fd2467dd00
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()) { |