xref: /llvm-project/lldb/test/API/functionalities/tail_call_frames/cross_dso/One/One.c (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 #include "shared.h"
2 
3 __attribute__((noinline))
helper_in_a()4 static void helper_in_a() {
5   tail_called_in_b_from_a();
6 }
7 
8 __attribute__((disable_tail_calls))
tail_called_in_a_from_main()9 void tail_called_in_a_from_main() {
10   helper_in_a();
11 }
12