Files
clang-p2996/lldb/test/API/functionalities/exec/main.c
Jonas Devlieghere a8bc9b627e [lldb] Simplify TestExec's source code (2/2)
I accidentally forgot to stage part of the changes in the previous
commit.
2022-08-11 12:44:38 -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();
}