summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/PointerData.cpp
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2021-06-04 18:02:41 +0000
committerScott Lobdell <slobdell@google.com>2021-06-04 18:02:41 +0000
commit0bcd17afeb7a5910cd64f3caae05195be70748bd (patch)
tree987239151d1b183e0de5e31eabcbadea00742843 /libc/malloc_debug/PointerData.cpp
parent5af6b7975694b08e8e363e9435990f248fbb39ca (diff)
parent37274da1bd5f3bb2259c0edd6aff767c3998af73 (diff)
Merge SP1A.210604.001
Change-Id: Id2e423c8ff6a838a96260a5b919810d4ef11e8db
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, "\"\"");
}