* unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes.

From-SVN: r158773
This commit is contained in:
Jakub Jelinek 2010-04-27 11:40:46 +02:00 committed by Jakub Jelinek
parent cb751cbd75
commit 934f5b4225
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-04-27 Jakub Jelinek <jakub@redhat.com>
* unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes.
2010-04-27 Bernd Schmidt <bernds@codesourcery.com>
PR target/40657

View File

@ -1482,7 +1482,8 @@ uw_init_context_1 (struct _Unwind_Context *context,
context->ra = __builtin_extract_return_addr (outer_ra);
}
static void _Unwind_DebugHook (void *, void *) __attribute__ ((__noinline__));
static void _Unwind_DebugHook (void *, void *)
__attribute__ ((__noinline__, __used__, __noclone__));
/* This function is called during unwinding. It is intended as a hook
for a debugger to intercept exceptions. CFA is the CFA of the