Lines Matching refs:MachOPlatformRuntimeState
226 class MachOPlatformRuntimeState { class
244 static MachOPlatformRuntimeState &get();
247 MachOPlatformRuntimeState() = default;
250 MachOPlatformRuntimeState(const MachOPlatformRuntimeState &) = delete;
251 MachOPlatformRuntimeState &
252 operator=(const MachOPlatformRuntimeState &) = delete;
253 MachOPlatformRuntimeState(MachOPlatformRuntimeState &&) = delete;
254 MachOPlatformRuntimeState &operator=(MachOPlatformRuntimeState &&) = delete;
286 static MachOPlatformRuntimeState *MOPS;
309 MachOPlatformRuntimeState *MachOPlatformRuntimeState::MOPS = nullptr;
311 void MachOPlatformRuntimeState::initialize() { in initialize()
313 MOPS = new MachOPlatformRuntimeState(); in initialize()
316 MachOPlatformRuntimeState &MachOPlatformRuntimeState::get() { in get()
321 void MachOPlatformRuntimeState::destroy() { in destroy()
326 Error MachOPlatformRuntimeState::registerObjectSections( in registerObjectSections()
341 Error MachOPlatformRuntimeState::deregisterObjectSections( in deregisterObjectSections()
350 const char *MachOPlatformRuntimeState::dlerror() { return DLFcnError.c_str(); } in dlerror()
352 void *MachOPlatformRuntimeState::dlopen(string_view Path, int Mode) { in dlopen()
373 int MachOPlatformRuntimeState::dlclose(void *DSOHandle) { in dlclose()
378 void *MachOPlatformRuntimeState::dlsym(void *DSOHandle, string_view Symbol) { in dlsym()
388 int MachOPlatformRuntimeState::registerAtExit(void (*F)(void *), void *Arg, in registerAtExit()
398 void MachOPlatformRuntimeState::runAtExits(void *DSOHandle) { in runAtExits()
417 MachOPlatformRuntimeState::getThreadDataSectionFor(const char *ThreadData) { in getThreadDataSectionFor()
429 MachOPlatformRuntimeState::PerJITDylibState *
430 MachOPlatformRuntimeState::getJITDylibStateByHeaderAddr(void *DSOHandle) { in getJITDylibStateByHeaderAddr()
437 MachOPlatformRuntimeState::PerJITDylibState *
438 MachOPlatformRuntimeState::getJITDylibStateByName(string_view Name) { in getJITDylibStateByName()
450 MachOPlatformRuntimeState::PerJITDylibState &
451 MachOPlatformRuntimeState::getOrCreateJITDylibState( in getOrCreateJITDylibState()
468 Error MachOPlatformRuntimeState::registerThreadDataSection( in registerThreadDataSection()
483 MachOPlatformRuntimeState::lookupSymbolInJITDylib(void *DSOHandle, in lookupSymbolInJITDylib()
495 MachOPlatformRuntimeState::getJITDylibInitializersByName(string_view Path) { in getJITDylibInitializersByName()
507 Expected<void *> MachOPlatformRuntimeState::dlopenInitialize(string_view Path, in dlopenInitialize()
534 Error MachOPlatformRuntimeState::initializeJITDylib( in initializeJITDylib()
568 MachOPlatformRuntimeState::get().getThreadDataSectionFor(ThreadData); in getInstance()
600 MachOPlatformRuntimeState::initialize(); in __orc_rt_macho_platform_bootstrap()
606 MachOPlatformRuntimeState::destroy(); in __orc_rt_macho_platform_shutdown()
616 return MachOPlatformRuntimeState::get().registerObjectSections( in __orc_rt_macho_register_object_sections()
628 return MachOPlatformRuntimeState::get().deregisterObjectSections( in __orc_rt_macho_deregister_object_sections()
674 return MachOPlatformRuntimeState::get().registerAtExit(func, arg, dso_handle); in __orc_rt_macho_cxa_atexit()
678 MachOPlatformRuntimeState::get().runAtExits(dso_handle); in __orc_rt_macho_cxa_finalize()
686 return MachOPlatformRuntimeState::get().dlerror(); in __orc_rt_macho_jit_dlerror()
690 return MachOPlatformRuntimeState::get().dlopen(path, mode); in __orc_rt_macho_jit_dlopen()
694 return MachOPlatformRuntimeState::get().dlclose(dso_handle); in __orc_rt_macho_jit_dlclose()
698 return MachOPlatformRuntimeState::get().dlsym(dso_handle, symbol); in __orc_rt_macho_jit_dlsym()