summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-04-27 11:40:46 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-04-27 11:40:46 +0200
commit934f5b4225f21082f9d9e94cf5c12390d70a727f (patch)
treef6ecf6a3f59a6bfdd90bb19dbb98f8415b456d45 /gcc/unwind-dw2.c
parentcb751cbd75e9aa0d841d7c38664b0dd413150409 (diff)
downloadgcc-934f5b4225f21082f9d9e94cf5c12390d70a727f.tar.gz
* unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes.
From-SVN: r158773
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index 65d639d4301..2ea9adb06ea 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -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