summaryrefslogtreecommitdiff
path: root/libunwindstack/tools/unwind.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2020-09-28 20:33:51 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-28 20:33:51 +0000
commit96e73d573e09dd8cb0afb1205ca7df1f0c20fa98 (patch)
tree1f139a357de89063c2ca58754f583de61797e456 /libunwindstack/tools/unwind.cpp
parent75766694c2969fc87ae2ab81733894d659e80947 (diff)
parent06c5c6958ad9455b579b7b29c0fc881adec573cc (diff)
Merge "Add arch member into Unwinder object." am: 087552a89b am: 89f54f6f86 am: d232e3c435 am: 0bd4f2dfc1 am: 06c5c6958a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1437275 Change-Id: I5c48e2558686db96b082d0d334a97c24f4296037
Diffstat (limited to 'libunwindstack/tools/unwind.cpp')
-rw-r--r--libunwindstack/tools/unwind.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libunwindstack/tools/unwind.cpp b/libunwindstack/tools/unwind.cpp
index 1812e50371..ae45f06bc9 100644
--- a/libunwindstack/tools/unwind.cpp
+++ b/libunwindstack/tools/unwind.cpp
@@ -90,11 +90,6 @@ void DoUnwind(pid_t pid) {
printf("\n");
unwindstack::UnwinderFromPid unwinder(1024, pid);
- if (!unwinder.Init(regs->Arch())) {
- printf("Failed to init unwinder object.\n");
- return;
- }
-
unwinder.SetRegs(regs);
unwinder.Unwind();