diff mbox series

libbacktrace patch committed: Declare test1 in edtest.c with noclone

Message ID CAOyqgcWXes4+g-xqufM41pxb6w=WN4dGCGfx3mwOSffH9h_d8A@mail.gmail.com
State New
Headers show
Series libbacktrace patch committed: Declare test1 in edtest.c with noclone | expand

Commit Message

Ian Lance Taylor Dec. 5, 2019, 3:56 a.m. UTC
This libbacktrace patch adds the noclone attribute to the version of
test1 in edtest.c, to correspond to other versions of test1.
Bootstrapped and ran libbacktrace tests on x86_64-pc-linux-gnu.
Committed to mainline.

Ian

2019-12-04  Ian Lance Taylor  <iant@golang.org>

* edtest.c (test1): Add noclone attribute.
diff mbox series

Patch

Index: edtest.c
===================================================================
--- edtest.c	(revision 278944)
+++ edtest.c	(working copy)
@@ -43,8 +43,7 @@  POSSIBILITY OF SUCH DAMAGE.  */
 
 #include "testlib.h"
 
-static int test1 (void) __attribute__ ((noinline, unused));
-static int test1 (void) __attribute__ ((noinline, unused));
+static int test1 (void) __attribute__ ((noinline, noclone, unused));
 extern int f2 (int);
 extern int f3 (int, int);