Sign in
llvm
/
llvm-project
/
lldb
/
733177717650bfcdce105cbfba4488be4a54ff72
/
.
/
test
/
API
/
functionalities
/
dlopen_other_executable
/
main.c
blob: f48f6177e7db0bf9404366e44748604c86031e17 [
file
] [
log
] [
blame
]
#include
<dlfcn.h>
#include
<assert.h>
int
main
()
{
int
i
=
0
;
// break here
// dlopen the 'other' test executable.
int
h
=
(
int
)
dlopen
(
"other"
,
RTLD_LAZY
);
assert
(
h
&&
"dlopen failed?"
);
return
i
;
// break after dlopen
}