1#include <stdio.h>
2#include <thread>
3#include <unistd.h>
4
5static void print_pid() { fprintf(stderr, format: "PID: %d\n", getpid()); }
6
7static void sleep() { std::this_thread::sleep_for(rtime: std::chrono::seconds(10)); }
8
9int main(int argc, char **argv) {
10 print_pid();
11 puts(s: "break here\n");
12 sleep();
13 return 0;
14}
15

source code of lldb/test/API/macosx/simulator/hello.cpp