Sign in
◑
Theme
llvm
/
llvm-project
/
43574226b712f94de17f07392a64282ac8ddab23
/
.
/
lldb
/
test
/
API
/
functionalities
/
exec
/
main.c
blob: cd4d5f1068fa29ac6494ad2dc62becfabff2eb20 [
file
]
#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
();
}