1#include <chrono>
2#include <stdio.h>
3#include <thread>
4
5
6int main(int argc, char const *argv[])
7{
8 static bool done = false;
9 while (!done)
10 {
11 std::this_thread::sleep_for(rtime: std::chrono::milliseconds{100});
12 }
13 printf(format: "Set a breakpoint here.\n");
14 return 0;
15}
16
17

source code of lldb/test/API/functionalities/breakpoint/breakpoint_set_restart/main.cpp