summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/PointerData.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/PointerData.cpp
parentd810f3683ae5e030bcd656361314895260beffb9 (diff)
parentaf1f724947d8a37c13e6e7163ba35481b8ba4dcc (diff)
Merge af1f724947d8a37c13e6e7163ba35481b8ba4dcc on remote branch
Change-Id: Icd977d266c2e4654e328bec1e08ff704d4287b3e
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, "\"\"");
}