summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-06 00:00:39 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-03-06 00:00:39 +0000
commit7131b3640599894eb17c23e9b018f461147acc6d (patch)
tree78d8442db21c20331c5f66aa98ff39e821b7f568 /libc/malloc_debug/malloc_debug.cpp
parent480f5863895d293ebc6ec5da2b96beac74874b14 (diff)
parent98eb4b779b402cfc15badfb48ec86594b0a23c58 (diff)
Snap for 8261343 from 98eb4b779b402cfc15badfb48ec86594b0a23c58 to tm-release
Change-Id: Ie55396c0e66df0f453cfa2a0bab144cadaffc2e0
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 {