Sign in
llvm
/
llvm-project.git
/
refs/heads/main
/
.
/
lldb
/
test
/
API
/
tools
/
lldb-server
/
attach-wait
/
shim.cpp
blob: 5b8bcc97e3e8f4488be666a7f2533b66cd65f8c8 [
file
] [
log
] [
blame
] [
edit
]
#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
;
}