llvm-project/lldb/test/API/functionalities/deleted-executable/main.cpp

16 lines
309 B
C++

#include <chrono>
#include <fstream>
#include <thread>
int main(int argc, char const *argv[]) {
lldb_enable_attach();
{
// Create file to signal that this process has started up.
std::ofstream f;
f.open(argv[1]);
}
std::this_thread::sleep_for(std::chrono::seconds(60));
}