1#include <stdio.h>
2
3/* The return statements are purposefully so simple, and
4 * unrelated to the program, just to achieve consistent
5 * debug line tables, across platforms, that are not
6 * dependent on compiler optimzations. */
7int call_me(int argc) {
8 printf (format: "At the start, argc: %d.\n", argc);
9
10 if (argc < 2)
11 return 1; /* Less than 2. */
12 else
13 return argc; /* Greater than or equal to 2. */
14}
15
16int
17main(int argc, char **argv)
18{
19 int res = 0;
20 res = call_me(argc); /* Back out in main. */
21 if (res)
22 printf(format: "Result: %d. \n", res);
23
24 return 0;
25}
26

source code of lldb/test/API/functionalities/thread/step_until/main.c