legion
dlsymdlopendlmopenmaster
7 / 2126 files match, 3 filtered matches.
runtime/realm/codedesc.cc
370 | } else {
371 | // try to load it - empty string for dso_name means the main executable
372 | const char *dso_name = dsoref->dso_name.c_str();
373 | handle = dlopen(*dso_name ? dso_name : 0, RTLD_NOW | RTLD_LOCAL);
374 | if(!handle) {
375 | log_codetrans.warning() << "could not open DSO '" << dsoref->dso_name << "': " << dlerror();
runtime/realm/module.cc
172 | assert(dlerror() == 0);
173 |
174 | // open so file, resolving all symbols but not polluting global namespace
175 | void *handle = dlopen(filename, RTLD_NOW | RTLD_LOCAL);
176 |
177 | if(handle != 0) {
runtime/realm/python/python_module.cc
160 | handle = dlmopen(lmid, python_lib, RTLD_DEEPBIND | RTLD_GLOBAL | RTLD_NOW);
161 | #else
162 | // life is so much easier if we use dlopen (but we only get one copy then)
163 | handle = dlopen(python_lib, RTLD_GLOBAL | RTLD_LAZY);
164 | #endif
165 | if (!handle) {