Searched refs:DSOHandle (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | elfnix_platform.cpp | 101 static void initialize(void *DSOHandle); 105 ELFNixPlatformRuntimeState(void *DSOHandle); 119 int dlclose(void *DSOHandle); 120 void *dlsym(void *DSOHandle, std::string_view Symbol); 122 int registerAtExit(void (*F)(void *), void *Arg, void *DSOHandle); 123 void runAtExits(void *DSOHandle); 132 PerJITDylibState *getJITDylibStateByHeaderAddr(void *DSOHandle); 139 Expected<ExecutorAddr> lookupSymbolInJITDylib(void *DSOHandle, 168 void ELFNixPlatformRuntimeState::initialize(void *DSOHandle) { in initialize() argument 170 MOPS = new ELFNixPlatformRuntimeState(DSOHandle); in initialize() [all …]
|
H A D | macho_platform.cpp | 333 int dlclose(void *DSOHandle); 334 void *dlsym(void *DSOHandle, const char *Symbol); 336 int registerAtExit(void (*F)(void *), void *Arg, void *DSOHandle); 339 void runAtExits(void *DSOHandle); 346 JITDylibState *getJITDylibStateByHeader(void *DSOHandle); 380 Error dlcloseImpl(void *DSOHandle); in get() 789 int MachOPlatformRuntimeState::dlclose(void *DSOHandle) { 791 auto *JDS = getJITDylibStateByHeader(DSOHandle); 795 printdbg("MachOPlatform::dlclose(%p) (%s)\n", DSOHandle, S.c_str()); 797 printdbg("MachOPlatform::dlclose(%p) (%s)\n", DSOHandle, in walkEHFrameSection() 670 dlclose(void * DSOHandle) dlclose() argument 690 dlsym(void * DSOHandle,std::string_view Symbol) dlsym() argument 702 registerAtExit(void (* F)(void *),void * Arg,void * DSOHandle) registerAtExit() argument 733 runAtExits(void * DSOHandle) runAtExits() argument 759 getJITDylibStateByHeader(void * DSOHandle) getJITDylibStateByHeader() argument 778 lookupSymbolInJITDylib(void * DSOHandle,std::string_view Sym) lookupSymbolInJITDylib() argument 1038 dlcloseImpl(void * DSOHandle) dlcloseImpl() argument [all...] |
H A D | coff_platform.cpp | 143 Error dlcloseImpl(void *DSOHandle); 146 JITDylibState *getJITDylibStateByHeader(void *DSOHandle); 148 Expected<ExecutorAddr> lookupSymbolInJITDylib(void *DSOHandle, 267 int COFFPlatformRuntimeState::dlclose(void *DSOHandle) { in dlclose() argument 269 auto *JDS = getJITDylibStateByHeader(DSOHandle); in dlclose() 273 printdbg("COFFPlatform::dlclose(%p) (%s)\n", DSOHandle, S.c_str()); in dlclose() 275 printdbg("COFFPlatform::dlclose(%p) (%s)\n", DSOHandle, "invalid handle"); in dlclose() 278 if (auto Err = dlcloseImpl(DSOHandle)) { in dlclose() 392 Error COFFPlatformRuntimeState::dlcloseImpl(void *DSOHandle) { in dlcloseImpl() argument 394 auto *JDS = getJITDylibStateByHeader(DSOHandle); in dlcloseImpl() [all...] |
H A D | dlfcn_wrapper.cpp | 48 [](ExecutorAddr &DSOHandle) { in __orc_rt_jit_dlclose_wrapper() argument 49 return __orc_rt_jit_dlclose(DSOHandle.toPtr<void *>()); in __orc_rt_jit_dlclose_wrapper()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | LLJIT.cpp | 173 auto *DSOHandle = new GlobalVariable( in setupJITDylib() local 177 DSOHandle->setVisibility(GlobalValue::DefaultVisibility); in setupJITDylib() 178 DSOHandle->setInitializer( in setupJITDylib() 192 {PlatformInstanceDecl, DSOHandle}); in setupJITDylib() 200 {PlatformInstanceDecl, DSOHandle}); in setupJITDylib() 425 void *DSOHandle) { in registerCxaAtExitHelper() argument 428 << (*static_cast<JITDylib **>(DSOHandle))->getName() << "\n"; in registerCxaAtExitHelper() 431 F, Ctx, DSOHandle); in registerCxaAtExitHelper() 434 static void registerAtExitHelper(void *Self, void *DSOHandle, void (*F)()) { in registerAtExitHelper() argument 437 << (*static_cast<JITDylib **>(DSOHandle))->getName() << "\n"; in registerAtExitHelper() [all …]
|
H A D | ExecutionUtils.cpp | 179 void *DSOHandle) { in CXAAtExitOverride() argument 181 *reinterpret_cast<CXXDestructorDataPairList*>(DSOHandle); in CXAAtExitOverride() 198 void *DSOHandle) { in registerAtExit() argument 200 AtExitRecords[DSOHandle].push_back({F, Ctx}); in registerAtExit() 203 void ItaniumCXAAtExitSupport::runAtExits(void *DSOHandle) { in runAtExits() argument 208 auto I = AtExitRecords.find(DSOHandle); in runAtExits()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | ExecutionUtils.h | 187 void *DSOHandle); 203 void registerAtExit(void (*F)(void *), void *Ctx, void *DSOHandle); 204 void runAtExits(void *DSOHandle);
|