Lines Matching refs:MachOPlatformRuntimeState
121 class MachOPlatformRuntimeState { class
159 static MachOPlatformRuntimeState &get();
162 MachOPlatformRuntimeState() = default;
165 MachOPlatformRuntimeState(const MachOPlatformRuntimeState &) = delete;
166 MachOPlatformRuntimeState &
167 operator=(const MachOPlatformRuntimeState &) = delete;
168 MachOPlatformRuntimeState(MachOPlatformRuntimeState &&) = delete;
169 MachOPlatformRuntimeState &operator=(MachOPlatformRuntimeState &&) = delete;
216 static MachOPlatformRuntimeState *MOPS;
229 MachOPlatformRuntimeState *MachOPlatformRuntimeState::MOPS = nullptr;
231 void MachOPlatformRuntimeState::initialize() { in initialize()
233 MOPS = new MachOPlatformRuntimeState(); in initialize()
236 MachOPlatformRuntimeState &MachOPlatformRuntimeState::get() { in get()
241 void MachOPlatformRuntimeState::destroy() { in destroy()
246 Error MachOPlatformRuntimeState::registerJITDylib(std::string Name, in registerJITDylib()
272 Error MachOPlatformRuntimeState::deregisterJITDylib(void *Header) { in deregisterJITDylib()
297 Error MachOPlatformRuntimeState::registerThreadDataSection( in registerThreadDataSection()
311 Error MachOPlatformRuntimeState::deregisterThreadDataSection( in deregisterThreadDataSection()
322 Error MachOPlatformRuntimeState::registerObjectPlatformSections( in registerObjectPlatformSections()
383 Error MachOPlatformRuntimeState::deregisterObjectPlatformSections( in deregisterObjectPlatformSections()
442 const char *MachOPlatformRuntimeState::dlerror() { return DLFcnError.c_str(); } in dlerror()
444 void *MachOPlatformRuntimeState::dlopen(string_view Path, int Mode) { in dlopen()
459 int MachOPlatformRuntimeState::dlclose(void *DSOHandle) { in dlclose()
479 void *MachOPlatformRuntimeState::dlsym(void *DSOHandle, string_view Symbol) { in dlsym()
489 int MachOPlatformRuntimeState::registerAtExit(void (*F)(void *), void *Arg, in registerAtExit()
506 void MachOPlatformRuntimeState::runAtExits(JITDylibState &JDS) { in runAtExits()
514 void MachOPlatformRuntimeState::runAtExits(void *DSOHandle) { in runAtExits()
527 MachOPlatformRuntimeState::getThreadDataSectionFor(const char *ThreadData) { in getThreadDataSectionFor()
539 MachOPlatformRuntimeState::JITDylibState *
540 MachOPlatformRuntimeState::getJITDylibStateByHeader(void *DSOHandle) { in getJITDylibStateByHeader()
549 MachOPlatformRuntimeState::JITDylibState *
550 MachOPlatformRuntimeState::getJITDylibStateByName(string_view Name) { in getJITDylibStateByName()
559 MachOPlatformRuntimeState::lookupSymbolInJITDylib(void *DSOHandle, in lookupSymbolInJITDylib()
584 Error MachOPlatformRuntimeState::registerObjCSelectors(JITDylibState &JDS) { in registerObjCSelectors()
604 Error MachOPlatformRuntimeState::registerObjCClasses(JITDylibState &JDS) { in registerObjCClasses()
641 Error MachOPlatformRuntimeState::registerSwift5Protocols(JITDylibState &JDS) { in registerSwift5Protocols()
659 Error MachOPlatformRuntimeState::registerSwift5ProtocolConformances( in registerSwift5ProtocolConformances()
680 Error MachOPlatformRuntimeState::registerSwift5Types(JITDylibState &JDS) { in registerSwift5Types()
699 Error MachOPlatformRuntimeState::runModInits(JITDylibState &JDS) { in runModInits()
710 Expected<void *> MachOPlatformRuntimeState::dlopenImpl(string_view Path, in dlopenImpl()
734 Error MachOPlatformRuntimeState::dlopenFull(JITDylibState &JDS) { in dlopenFull()
762 Error MachOPlatformRuntimeState::dlopenInitialize( in dlopenInitialize()
840 Error MachOPlatformRuntimeState::dlcloseImpl(void *DSOHandle) { in dlcloseImpl()
859 Error MachOPlatformRuntimeState::dlcloseDeinitialize(JITDylibState &JDS) { in dlcloseDeinitialize()
898 MachOPlatformRuntimeState::get().getThreadDataSectionFor(ThreadData); in getInstance()
937 MachOPlatformRuntimeState::initialize(); in __orc_rt_macho_platform_bootstrap()
943 MachOPlatformRuntimeState::destroy(); in __orc_rt_macho_platform_shutdown()
952 return MachOPlatformRuntimeState::get().registerJITDylib( in __orc_rt_macho_register_jitdylib()
963 return MachOPlatformRuntimeState::get().deregisterJITDylib( in __orc_rt_macho_deregister_jitdylib()
977 return MachOPlatformRuntimeState::get() in __orc_rt_macho_register_object_platform_sections()
991 return MachOPlatformRuntimeState::get() in __orc_rt_macho_deregister_object_platform_sections()
1045 return MachOPlatformRuntimeState::get().registerAtExit(func, arg, dso_handle); in __orc_rt_macho_cxa_atexit()
1049 MachOPlatformRuntimeState::get().runAtExits(dso_handle); in __orc_rt_macho_cxa_finalize()
1057 return MachOPlatformRuntimeState::get().dlerror(); in __orc_rt_macho_jit_dlerror()
1061 return MachOPlatformRuntimeState::get().dlopen(path, mode); in __orc_rt_macho_jit_dlopen()
1065 return MachOPlatformRuntimeState::get().dlclose(dso_handle); in __orc_rt_macho_jit_dlclose()
1069 return MachOPlatformRuntimeState::get().dlsym(dso_handle, symbol); in __orc_rt_macho_jit_dlsym()