summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/PointerData.cpp
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2021-05-13 09:49:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-05-13 09:49:52 +0000
commit453076b8d0aaf231a4eec48950530e2bcd774ccd (patch)
treedfc0daea1ad44556b777262a980de027ebb13220 /libc/malloc_debug/PointerData.cpp
parentb1270fdd54bb9d5d744c754cd63a225924b73709 (diff)
parent92b8d64f41da3c76f039d72168c9d27a5081bc06 (diff)
Merge "Update API of MapInfo from libunwindstack"
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, "\"\"");
}