]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/main.c
Vendor import of lldb release_39 branch r287912:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / functionalities / postmortem / linux-core / main.c
1 static void bar(char *boom)
2 {
3     char F = 'b';
4     *boom = 47; // Frame bar
5 }
6
7 static void foo(char *boom, void (*boomer)(char *))
8 {
9     char F = 'f';
10     boomer(boom); // Frame foo
11 }
12
13 void _start(void)
14 {
15     char F = '_';
16     foo(0, bar); // Frame _start
17 }