Lines Matching refs:MachOPlatformRuntimeState
151 class MachOPlatformRuntimeState { class
297 static MachOPlatformRuntimeState &get();
300 MachOPlatformRuntimeState() = default;
303 MachOPlatformRuntimeState(const MachOPlatformRuntimeState &) = delete;
304 MachOPlatformRuntimeState &
305 operator=(const MachOPlatformRuntimeState &) = delete;
306 MachOPlatformRuntimeState(MachOPlatformRuntimeState &&) = delete;
307 MachOPlatformRuntimeState &operator=(MachOPlatformRuntimeState &&) = delete;
384 static MachOPlatformRuntimeState *MOPS;
414 MachOPlatformRuntimeState::MachOExecutorSymbolFlags> {
417 MachOPlatformRuntimeState::MachOExecutorSymbolFlags>;
421 size(const MachOPlatformRuntimeState::MachOExecutorSymbolFlags &SF) { in size()
427 const MachOPlatformRuntimeState::MachOExecutorSymbolFlags &SF) { in serialize()
433 MachOPlatformRuntimeState::MachOExecutorSymbolFlags &SF) { in deserialize()
437 SF = static_cast<MachOPlatformRuntimeState::MachOExecutorSymbolFlags>(Tmp); in deserialize()
446 MachOPlatformRuntimeState *MachOPlatformRuntimeState::MOPS = nullptr;
448 Error MachOPlatformRuntimeState::create() { in create()
450 MOPS = new MachOPlatformRuntimeState(); in create()
454 MachOPlatformRuntimeState &MachOPlatformRuntimeState::get() { in get()
459 Error MachOPlatformRuntimeState::destroy() { in destroy()
466 Error MachOPlatformRuntimeState::initialize() { in initialize()
486 Error MachOPlatformRuntimeState::shutdown() { in shutdown()
496 Error MachOPlatformRuntimeState::registerJITDylib(std::string Name, in registerJITDylib()
522 Error MachOPlatformRuntimeState::deregisterJITDylib(void *Header) { in deregisterJITDylib()
547 Error MachOPlatformRuntimeState::registerThreadDataSection( in registerThreadDataSection()
561 Error MachOPlatformRuntimeState::deregisterThreadDataSection( in deregisterThreadDataSection()
572 Error MachOPlatformRuntimeState::registerObjectSymbolTable( in registerObjectSymbolTable()
593 Error MachOPlatformRuntimeState::deregisterObjectSymbolTable( in deregisterObjectSymbolTable()
614 Error MachOPlatformRuntimeState::registerObjectPlatformSections( in registerObjectPlatformSections()
692 Error MachOPlatformRuntimeState::deregisterObjectPlatformSections( in deregisterObjectPlatformSections()
772 const char *MachOPlatformRuntimeState::dlerror() { return DLFcnError.c_str(); } in dlerror()
774 void *MachOPlatformRuntimeState::dlopen(std::string_view Path, int Mode) { in dlopen()
789 int MachOPlatformRuntimeState::dlclose(void *DSOHandle) { in dlclose()
809 void *MachOPlatformRuntimeState::dlsym(void *DSOHandle, const char *Symbol) { in dlsym()
835 int MachOPlatformRuntimeState::registerAtExit(void (*F)(void *), void *Arg, in registerAtExit()
852 void MachOPlatformRuntimeState::runAtExits( in runAtExits()
867 void MachOPlatformRuntimeState::runAtExits(void *DSOHandle) { in runAtExits()
880 MachOPlatformRuntimeState::getThreadDataSectionFor(const char *ThreadData) { in getThreadDataSectionFor()
892 MachOPlatformRuntimeState::JITDylibState *
893 MachOPlatformRuntimeState::getJITDylibStateByHeader(void *DSOHandle) { in getJITDylibStateByHeader()
902 MachOPlatformRuntimeState::JITDylibState *
903 MachOPlatformRuntimeState::getJITDylibStateByName(std::string_view Name) { in getJITDylibStateByName()
911 Error MachOPlatformRuntimeState::requestPushSymbols( in requestPushSymbols()
924 Error MachOPlatformRuntimeState::lookupSymbols( in lookupSymbols()
1018 bool MachOPlatformRuntimeState::lookupUnwindSections( in lookupUnwindSections()
1041 int MachOPlatformRuntimeState::findDynamicUnwindSections( in findDynamicUnwindSections()
1045 return MachOPlatformRuntimeState::get().lookupUnwindSections((void *)addr, in findDynamicUnwindSections()
1049 Error MachOPlatformRuntimeState::registerEHFrames( in registerEHFrames()
1055 Error MachOPlatformRuntimeState::deregisterEHFrames( in deregisterEHFrames()
1061 Error MachOPlatformRuntimeState::registerObjCRegistrationObjects( in registerObjCRegistrationObjects()
1088 Error MachOPlatformRuntimeState::runModInits( in runModInits()
1109 Expected<void *> MachOPlatformRuntimeState::dlopenImpl(std::string_view Path, in dlopenImpl()
1135 Error MachOPlatformRuntimeState::dlopenFull( in dlopenFull()
1168 Error MachOPlatformRuntimeState::dlopenInitialize( in dlopenInitialize()
1239 Error MachOPlatformRuntimeState::dlcloseImpl(void *DSOHandle) { in dlcloseImpl()
1260 Error MachOPlatformRuntimeState::dlcloseDeinitialize( in dlcloseDeinitialize()
1305 MachOPlatformRuntimeState::get().getThreadDataSectionFor(ThreadData); in getInstance()
1346 []() { return MachOPlatformRuntimeState::create(); }) in __orc_rt_macho_platform_bootstrap()
1354 []() { return MachOPlatformRuntimeState::destroy(); }) in __orc_rt_macho_platform_shutdown()
1363 return MachOPlatformRuntimeState::get().registerJITDylib( in __orc_rt_macho_register_jitdylib()
1374 return MachOPlatformRuntimeState::get().deregisterJITDylib( in __orc_rt_macho_deregister_jitdylib()
1390 return MachOPlatformRuntimeState::get() in __orc_rt_macho_register_object_platform_sections()
1401 MachOPlatformRuntimeState::MachOExecutorSymbolFlags>>; in __orc_rt_macho_register_object_symbol_table()
1407 return MachOPlatformRuntimeState::get() in __orc_rt_macho_register_object_symbol_table()
1417 MachOPlatformRuntimeState::MachOExecutorSymbolFlags>>; in __orc_rt_macho_deregister_object_symbol_table()
1423 return MachOPlatformRuntimeState::get() in __orc_rt_macho_deregister_object_symbol_table()
1439 return MachOPlatformRuntimeState::get() in __orc_rt_macho_deregister_object_platform_sections()
1493 return MachOPlatformRuntimeState::get().registerAtExit(func, arg, dso_handle); in __orc_rt_macho_cxa_atexit()
1497 MachOPlatformRuntimeState::get().runAtExits(dso_handle); in __orc_rt_macho_cxa_finalize()
1505 return MachOPlatformRuntimeState::get().dlerror(); in __orc_rt_macho_jit_dlerror()
1509 return MachOPlatformRuntimeState::get().dlopen(path, mode); in __orc_rt_macho_jit_dlopen()
1513 return MachOPlatformRuntimeState::get().dlclose(dso_handle); in __orc_rt_macho_jit_dlclose()
1517 return MachOPlatformRuntimeState::get().dlsym(dso_handle, symbol); in __orc_rt_macho_jit_dlsym()