summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/UnwindBacktrace.cpp
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2021-07-08 10:44:11 -0700
committerLinux Build Service Account <lnxbuild@localhost>2021-07-08 10:44:11 -0700
commitf15e6f2bda4a5c60ffc5faaafadf4c48c947f5e6 (patch)
tree0b54317ff0c75bef86b4b22e9b997d801a3e606d /libc/malloc_debug/UnwindBacktrace.cpp
parentd810f3683ae5e030bcd656361314895260beffb9 (diff)
parentaf1f724947d8a37c13e6e7163ba35481b8ba4dcc (diff)
Merge af1f724947d8a37c13e6e7163ba35481b8ba4dcc on remote branch
Change-Id: Icd977d266c2e4654e328bec1e08ff704d4287b3e
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()) {