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