summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/PointerData.cpp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-30 10:01:22 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-06-30 10:01:22 +0000
commit0a96c69b1cc590982da826cd28e5ae4ea916c96f (patch)
tree0b54317ff0c75bef86b4b22e9b997d801a3e606d /libc/malloc_debug/PointerData.cpp
parentc0fa380b2a08a30c323b26ed749495b1f36d8be6 (diff)
parentf30ccc297ab4b5b91fe3eb7efa9f568dccb1919c (diff)
Snap for 7508253 from f30ccc297ab4b5b91fe3eb7efa9f568dccb1919c to s-keystone-qcom-release
Change-Id: I96cd2124840debe5e222b713b396da434a34334a
Diffstat (limited to 'libc/malloc_debug/PointerData.cpp')
-rw-r--r--libc/malloc_debug/PointerData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/malloc_debug/PointerData.cpp b/libc/malloc_debug/PointerData.cpp
index a15b1b13a..4c5559bb9 100644
--- a/libc/malloc_debug/PointerData.cpp
+++ b/libc/malloc_debug/PointerData.cpp
@@ -591,8 +591,8 @@ void PointerData::DumpLiveToFile(int fd) {
dprintf(fd, " bt_info");
for (const auto& frame : *info.backtrace_info) {
dprintf(fd, " {");
- if (frame.map_info != nullptr && !frame.map_info->name.empty()) {
- dprintf(fd, "\"%s\"", frame.map_info->name.c_str());
+ if (frame.map_info != nullptr && !frame.map_info->name().empty()) {
+ dprintf(fd, "\"%s\"", frame.map_info->name().c_str());
} else {
dprintf(fd, "\"\"");
}