about summary refs log tree commit diff
path: root/debug/tst-backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug/tst-backtrace.h')
-rw-r--r--debug/tst-backtrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/tst-backtrace.h b/debug/tst-backtrace.h
index 1a53048a49..6a4b200c80 100644
--- a/debug/tst-backtrace.h
+++ b/debug/tst-backtrace.h
@@ -33,7 +33,7 @@ volatile int x;
 
 /* Use this attribute to prevent inlining, so that all expected frames
    are present.  */
-#define NO_INLINE __attribute__ ((noinline))
+#define NO_INLINE __attribute__ ((noinline, noclone, weak))
 
 /* Look for a match in SYM from backtrace_symbols to NAME, a fragment
    of a function name.  Ignore the filename before '(', but presume