summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2022-03-05 00:05:06 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-05 00:05:06 +0000
commit98eb4b779b402cfc15badfb48ec86594b0a23c58 (patch)
tree78d8442db21c20331c5f66aa98ff39e821b7f568 /libc/malloc_debug/malloc_debug.cpp
parentf804b93f7a23c13c0e2bc87d76d7f3281cc4d6f5 (diff)
parentee56b9256e8fbfad83b09c3c31044960c0573cf2 (diff)
Merge "Update for LocalUnwinder object removal." am: 25de3ac3f1 am: 5fbda5b808 am: ee56b9256e
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2007331 Change-Id: I6b36533d985a4073cabff010eb89aa90f56e2fb1
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 d23ab15c3..9f38946af 100644
--- a/libc/malloc_debug/malloc_debug.cpp
+++ b/libc/malloc_debug/malloc_debug.cpp
@@ -49,6 +49,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"
@@ -193,7 +194,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 {