Jonas Devlieghere 181c0373d2
[lldb] Simplify TestExec's source code
Simplify the test's source code, remove unnecessary headers, and convert
it from C++ to C.
2022-08-11 12:36:54 -07:00

11 lines
203 B
C++

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(int argc, char const **argv) {
// Set breakpoint 1 here
execl("secondprog", "secondprog", NULL);
perror("execve");
abort();
}