Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / python_api / signals / main.cpp
blobef29e91685c88eeeb7baec1a19fbf4fd029f0634
1 #include <stdio.h>
2 #include <sys/types.h>
3 #if defined(_WIN32)
4 #include <windows.h>
5 #else
6 #include <unistd.h>
7 #include <signal.h>
8 #endif
10 // This simple program is to test the lldb Python API related to process.
12 int main (int argc, char const *argv[])
14 #if defined(_WIN32)
15 ::ExitProcess(1);
16 #else
17 kill(getpid(), SIGINT); // Set break point at this line and setup signal ignores.
18 #endif
19 return 0;