summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2022-03-17 15:56:22 -0700
committerDaniel Norman <danielnorman@google.com>2022-03-17 16:10:11 -0700
commit7c1459072280870064198542d4ada15805c19eb6 (patch)
tree00bbf498eba8f919354fe8911d634a301fd3a37a /libc/malloc_debug/malloc_debug.cpp
parent8efd04f5e79f72f3caff3fa36d751b04507ea75a (diff)
parent50a83b13036dd15833ffef7a579ac85936a3e07e (diff)
Merge TP1A.220310.002
Change-Id: Ia2398085666c506e3b159ff6066b7081448a7014
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
-rw-r--r--libc/malloc_debug/malloc_debug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/malloc_debug/malloc_debug.cpp b/libc/malloc_debug/malloc_debug.cpp
index e435f8efb..855d4f0fc 100644
--- a/libc/malloc_debug/malloc_debug.cpp
+++ b/libc/malloc_debug/malloc_debug.cpp
@@ -51,6 +51,7 @@
#include <platform/bionic/reserved_signals.h>
#include <private/MallocXmlElem.h>
#include <private/bionic_malloc_dispatch.h>
+#include <unwindstack/Unwinder.h>
#include "Config.h"
#include "DebugData.h"
@@ -199,7 +200,7 @@ static void InitAtfork() {
void BacktraceAndLog() {
if (g_debug->config().options() & BACKTRACE_FULL) {
std::vector<uintptr_t> frames;
- std::vector<unwindstack::LocalFrameData> frames_info;
+ std::vector<unwindstack::FrameData> frames_info;
if (!Unwind(&frames, &frames_info, 256)) {
error_log(" Backtrace failed to get any frames.");
} else {