Skip to content

Commit

Permalink
i#1569 AArch64: Implement dr_try_start.
Browse files Browse the repository at this point in the history
This fixes the tests client.exception and tool.drltrace.

Review-URL: https://codereview.appspot.com/302160043
  • Loading branch information
egrimley-arm committed Jul 13, 2016
1 parent 1b6a007 commit 2ab9b37
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/arch/aarch64/aarch64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,14 @@ GLOBAL_LABEL(memset:)

#ifdef CLIENT_INTERFACE

/* Xref x86.asm dr_try_start about calling dr_setjmp without a call frame.
*
* int dr_try_start(try_except_context_t *cxt) ;
*/
DECLARE_EXPORTED_FUNC(dr_try_start)
GLOBAL_LABEL(dr_try_start:)
bl GLOBAL_REF(unexpected_return) /* FIXME i#1569: NYI */
add ARG1, ARG1, #TRY_CXT_SETJMP_OFFS
b GLOBAL_REF(dr_setjmp)
END_FUNC(dr_try_start)

/* We save only the callee-save registers: X19-X30, (gap), SP, D8-D15.
Expand Down

0 comments on commit 2ab9b37

Please sign in to comment.