bolt/deps/llvm-18.1.8/lldb/test/API/macosx/universal/main.c
2025-02-14 19:21:04 +01:00

21 lines
309 B
C

#include <stdio.h>
#include <unistd.h>
#include <string.h>
void
call_me()
{
sleep(1);
}
int
main (int argc, char **argv)
{
printf ("Hello there!\n"); // Set break point at this line.
if (argc == 2 && strcmp(argv[1], "keep_waiting") == 0)
while (1)
{
call_me();
}
return 0;
}