Sign in
◑
Theme
llvm
/
llvm-project
/
7f7103cd06b06f54e69fdb0aa7361b02b7c86177
/
.
/
lldb
/
test
/
API
/
functionalities
/
dlopen_other_executable
/
main.c
blob: 8f21e862a2b58966691334cbac367ad36152b44e [
file
]
#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
}