Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27a98403 authored by Christopher Ferris's avatar Christopher Ferris Committed by Automerger Merge Worker
Browse files

Merge "Avoid using thread cache in unwinder." into sc-dev am: a705c040

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/15098025

Change-Id: Ica2f9113aa74cd2800645a799497a8ec10a7a6d9
parents 9a2828a0 a705c040
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -593,6 +593,9 @@ void engrave_tombstone_ucontext(int tombstone_fd, int proto_fd, uint64_t abort_m
  };

  unwindstack::UnwinderFromPid unwinder(kMaxFrames, pid, unwindstack::Regs::CurrentArch());
  auto process_memory =
      unwindstack::Memory::CreateProcessMemoryCached(getpid());
  unwinder.SetProcessMemory(process_memory);
  if (!unwinder.Init()) {
    async_safe_fatal("failed to init unwinder object");
  }