From d97954a8ea1ecc48916f234a429e5cd6a2e38310 Mon Sep 17 00:00:00 2001 From: Alex Rønne Petersen Date: Wed, 1 Oct 2025 01:02:58 +0200 Subject: test: remove stack_iterator standalone test Our new stack trace tests cover all the important parts of this. --- test/standalone/stack_iterator/shared_lib.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 test/standalone/stack_iterator/shared_lib.c (limited to 'test/standalone/stack_iterator/shared_lib.c') diff --git a/test/standalone/stack_iterator/shared_lib.c b/test/standalone/stack_iterator/shared_lib.c deleted file mode 100644 index c3170f2dc0..0000000000 --- a/test/standalone/stack_iterator/shared_lib.c +++ /dev/null @@ -1,22 +0,0 @@ -#include - -#ifndef LIB_API -#define LIB_API -#endif - -__attribute__((noinline)) void frame1( - void** expected, - void** unwound, - void (*frame2)(void** expected, void** unwound)) { - expected[3] = __builtin_extract_return_addr(__builtin_return_address(0)); - frame2(expected, unwound); -} - -LIB_API void frame0( - void** expected, - void** unwound, - void (*frame2)(void** expected, void** unwound)) { - expected[4] = __builtin_extract_return_addr(__builtin_return_address(0)); - frame1(expected, unwound, frame2); -} - -- cgit v1.2.3