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
This commit is contained in:
Josh Gao 2017-03-09 12:12:18 -08:00
parent e1aa0ca58a
commit 9eb4eb1811
1 changed files with 6 additions and 0 deletions

View File

@ -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