1#include <dlfcn.h>
2#include <assert.h>
3
4int main() {
5 int i = 0; // break here
6 // dlopen the 'other' test executable.
7 int h = (int) dlopen(file: "other", RTLD_LAZY);
8 assert(h && "dlopen failed?");
9 return i; // break after dlopen
10}
11

source code of lldb/test/API/functionalities/dlopen_other_executable/main.c