Sign in
llvm
/
llvm-project
/
ba767d0bbbde4107700ff66ecfd97eb75d85a35d
/
.
/
lldb
/
test
/
API
/
tools
/
lldb-server
/
attach-wait
/
shim.cpp
blob: 5b8bcc97e3e8f4488be666a7f2533b66cd65f8c8 [
file
]
#include
"attach.h"
#include
<cstdio>
#include
<unistd.h>
int
main
(
int
argc
,
char
*
argv
[])
{
lldb_enable_attach
();
execvp
(
argv
[
1
],
argv
+
1
);
perror
(
"execlp"
);
return
1
;
}