zephyr/tests/arch/common/stack_unwind
Keith Packard df1cd1b0b1 tests/stack_unwind: Avoid inlining and tail-calls
We want the stack trace to show the correct nesting of functions,
so we need to prevent the compiler from in-lining functions or
performing tail-call optimizations.

Add __noinline to prevent inlining. Add another printf in each
function to avoid tail calls.

Signed-off-by: Keith Packard <keithp@keithp.com>
2025-06-17 16:06:21 +02:00
..
src tests/stack_unwind: Avoid inlining and tail-calls 2025-06-17 16:06:21 +02:00
CMakeLists.txt
prj.conf
testcase.yaml