brintos

brintos / llvm-project-archived public Read only

0
0
Text · 409 B · ef29e91 Raw
21 lines · cpp
1#include <stdio.h>2#include <sys/types.h>3#if defined(_WIN32)4#include <windows.h>5#else6#include <unistd.h>7#include <signal.h>8#endif9 10// This simple program is to test the lldb Python API related to process.11 12int main (int argc, char const *argv[])13{14#if defined(_WIN32)15		::ExitProcess(1);16#else17    kill(getpid(), SIGINT); // Set break point at this line and setup signal ignores.18#endif19    return 0;20}21