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

Commit 9eb4eb18 authored by Josh Gao's avatar Josh Gao
Browse files

libdebuggerd: add compatibility shim.

Avoid breaking internal code when AOSP automerges to internal.

This will be reverted after fixing up the uses on the other end.

Bug: http://b/35858739
Test: treehugger
Change-Id: If1ee03d8d7c218d3ad9f451cfe9a9077753dda02
parent e1aa0ca5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -42,4 +42,10 @@ void engrave_tombstone(int tombstone_fd, BacktraceMap* map,
void engrave_tombstone_ucontext(int tombstone_fd, uintptr_t abort_msg_address, siginfo_t* siginfo,
                                ucontext_t* ucontext);

// Compatibility shim.
static void engrave_tombstone_ucontext(int tombstone_fd, pid_t, pid_t, uintptr_t abort_msg_address,
                                       siginfo_t* siginfo, ucontext_t* ucontext) {
  engrave_tombstone_ucontext(tombstone_fd, abort_msg_address, siginfo, ucontext);
}

#endif // _DEBUGGERD_TOMBSTONE_H