summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/PointerData.cpp
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2021-06-18 20:06:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-06-18 20:06:51 +0000
commit5aeffd28678e6c0b1d6ff06de85dc7bf22b5e53d (patch)
treef227dda74458d6728b5ac0ace6f0479a8759d8b0 /libc/malloc_debug/PointerData.cpp
parent4c90af54ee40fd5850f3a201fba9f706f9c2619f (diff)
parent0bcd17afeb7a5910cd64f3caae05195be70748bd (diff)
Merge "Merge SP1A.210604.001 Change-Id: Id2e423c8ff6a838a96260a5b919810d4ef11e8db" into s-keystone-qcom-dev
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, "\"\"");
}