diff -rupN --no-dereference apitrace-1aa83915bfc310ba5901136013dcd2b6ee641e00/thirdparty/libbacktrace/btest.c apitrace-1aa83915bfc310ba5901136013dcd2b6ee641e00-new/thirdparty/libbacktrace/btest.c
--- apitrace-1aa83915bfc310ba5901136013dcd2b6ee641e00/thirdparty/libbacktrace/btest.c 2020-09-18 15:11:32.000000000 +0200
+++ apitrace-1aa83915bfc310ba5901136013dcd2b6ee641e00-new/thirdparty/libbacktrace/btest.c 2020-10-18 20:07:55.208841571 +0200
@@ -277,9 +277,9 @@ error_callback_three (void *vdata, const
/* Test the backtrace function with non-inlined functions. */
-static int test1 (void) __attribute__ ((noinline, unused));
-static int f2 (int) __attribute__ ((noinline));
-static int f3 (int, int) __attribute__ ((noinline));
+static int test1 (void) __attribute__ ((noinline, noclone, unused));
+static int f2 (int) __attribute__ ((noinline, noclone));
+static int f3 (int, int) __attribute__ ((noinline, noclone));
static int
test1 (void)
@@ -391,9 +391,9 @@ f13 (int f1line, int f2line)
/* Test the backtrace_simple function with non-inlined functions. */
-static int test3 (void) __attribute__ ((noinline, unused));
-static int f22 (int) __attribute__ ((noinline));
-static int f23 (int, int) __attribute__ ((noinline));
+static int test3 (void) __attribute__ ((noinline, noclone, unused));
+static int f22 (int) __attribute__ ((noinline, noclone));
+static int f23 (int, int) __attribute__ ((noinline, noclone));
static int
test3 (void)