summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/PointerData.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-05-14 01:01:19 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-05-14 01:01:19 +0000
commit37274da1bd5f3bb2259c0edd6aff767c3998af73 (patch)
treedfc0daea1ad44556b777262a980de027ebb13220 /libc/malloc_debug/PointerData.cpp
parent4b15ac0610010b68086ef3b7f6e82db9195fbb13 (diff)
parenta3b1926d75c2e46083429ae1e952035480dc3221 (diff)
Snap for 7360053 from a3b1926d75c2e46083429ae1e952035480dc3221 to sc-release
Change-Id: I29805b4941c451809a289a530feb9a4cd4501c7d
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 4f81ff7ff..90c913638 100644
--- a/libc/malloc_debug/PointerData.cpp
+++ b/libc/malloc_debug/PointerData.cpp
@@ -588,8 +588,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, "\"\"");
}