Lines Matching refs:COFFPlatformRuntimeState

54 class COFFPlatformRuntimeState {  class
97 static COFFPlatformRuntimeState &get();
101 COFFPlatformRuntimeState() = default;
104 COFFPlatformRuntimeState(const COFFPlatformRuntimeState &) = delete;
105 COFFPlatformRuntimeState &
106 operator=(const COFFPlatformRuntimeState &) = delete;
107 COFFPlatformRuntimeState(COFFPlatformRuntimeState &&) = delete;
108 COFFPlatformRuntimeState &operator=(COFFPlatformRuntimeState &&) = delete;
151 static COFFPlatformRuntimeState *CPS;
166 COFFPlatformRuntimeState *COFFPlatformRuntimeState::CPS = nullptr;
168 COFFPlatformRuntimeState::JITDylibState *
169 COFFPlatformRuntimeState::getJITDylibStateByHeader(void *Header) { in getJITDylibStateByHeader()
176 COFFPlatformRuntimeState::JITDylibState *
177 COFFPlatformRuntimeState::getJITDylibStateByName(std::string_view Name) { in getJITDylibStateByName()
189 Error COFFPlatformRuntimeState::registerJITDylib(std::string Name, in registerJITDylib()
215 Error COFFPlatformRuntimeState::deregisterJITDylib(void *Header) { in deregisterJITDylib()
240 void COFFPlatformRuntimeState::XtorSection::RunAllNewAndFlush() { in RunAllNewAndFlush()
250 const char *COFFPlatformRuntimeState::dlerror() { return DLFcnError.c_str(); } in dlerror()
252 void *COFFPlatformRuntimeState::dlopen(std::string_view Path, int Mode) { in dlopen()
267 int COFFPlatformRuntimeState::dlclose(void *DSOHandle) { in dlclose()
286 void *COFFPlatformRuntimeState::dlsym(void *Header, std::string_view Symbol) { in dlsym()
295 Expected<void *> COFFPlatformRuntimeState::dlopenImpl(std::string_view Path, in dlopenImpl()
314 Error COFFPlatformRuntimeState::dlopenFull(JITDylibState &JDS) { in dlopenFull()
343 Error COFFPlatformRuntimeState::dlopenInitialize( in dlopenInitialize()
392 Error COFFPlatformRuntimeState::dlcloseImpl(void *DSOHandle) { in dlcloseImpl()
411 Error COFFPlatformRuntimeState::dlcloseDeinitialize(JITDylibState &JDS) { in dlcloseDeinitialize()
444 COFFPlatformRuntimeState::lookupSymbolInJITDylib(void *header, in lookupSymbolInJITDylib()
456 Error COFFPlatformRuntimeState::registerObjectSections( in registerObjectSections()
501 Error COFFPlatformRuntimeState::deregisterObjectSections( in deregisterObjectSections()
522 Error COFFPlatformRuntimeState::registerSEHFrames( in registerSEHFrames()
533 Error COFFPlatformRuntimeState::deregisterSEHFrames( in deregisterSEHFrames()
540 Error COFFPlatformRuntimeState::registerBlockRange(ExecutorAddr HeaderAddr, in registerBlockRange()
549 Error COFFPlatformRuntimeState::deregisterBlockRange(ExecutorAddr HeaderAddr, in deregisterBlockRange()
557 Error COFFPlatformRuntimeState::registerAtExit(ExecutorAddr HeaderAddr, in registerAtExit()
570 void COFFPlatformRuntimeState::initialize() { in initialize()
572 CPS = new COFFPlatformRuntimeState(); in initialize()
575 COFFPlatformRuntimeState &COFFPlatformRuntimeState::get() { in get()
580 void COFFPlatformRuntimeState::destroy() { in destroy()
585 void *COFFPlatformRuntimeState::findJITDylibBaseByPC(uint64_t PC) { in findJITDylibBaseByPC()
599 COFFPlatformRuntimeState::initialize(); in __orc_rt_coff_platform_bootstrap()
605 COFFPlatformRuntimeState::destroy(); in __orc_rt_coff_platform_shutdown()
614 return COFFPlatformRuntimeState::get().registerJITDylib( in __orc_rt_coff_register_jitdylib()
625 return COFFPlatformRuntimeState::get().deregisterJITDylib( in __orc_rt_coff_deregister_jitdylib()
640 return COFFPlatformRuntimeState::get().registerObjectSections( in __orc_rt_coff_register_object_sections()
653 return COFFPlatformRuntimeState::get().deregisterObjectSections( in __orc_rt_coff_deregister_object_sections()
663 return COFFPlatformRuntimeState::get().dlerror(); in __orc_rt_coff_jit_dlerror()
667 return COFFPlatformRuntimeState::get().dlopen(path, mode); in __orc_rt_coff_jit_dlopen()
671 return COFFPlatformRuntimeState::get().dlclose(header); in __orc_rt_coff_jit_dlclose()
675 return COFFPlatformRuntimeState::get().dlsym(header, symbol); in __orc_rt_coff_jit_dlsym()
698 auto BaseAddr = COFFPlatformRuntimeState::get().findJITDylibBaseByPC( in __orc_rt_coff_cxx_throw_exception()
728 if (auto Err = COFFPlatformRuntimeState::get().registerAtExit( in __orc_rt_coff_onexit()
737 if (auto Err = COFFPlatformRuntimeState::get().registerAtExit( in __orc_rt_coff_atexit()