search for: returnjitsymbol

Displaying 1 result from an estimated 1 matches for "returnjitsymbol".

2017 Aug 06
2
Compile issues with LLVM ORC JIT
...mbda 1: Look back into the JIT itself to find symbols that are part of// the same "logical dylib".// Lambda 2: Search for external symbols in the host process.autoResolver=createLambdaResolver([&](conststd::string &Name){if(autoSym=CompileLayer.findSymbol(Name,false))returnSym;returnJITSymbol(nullptr);},[](conststd::string &Name){if(autoSymAddr=RTDyldMemoryManager::getSymbolAddressInProcess(Name))returnJITSymbol(SymAddr,JITSymbolFlags::Exported);returnJITSymbol(nullptr);});// Add the set to the JIT with the resolver we created above and a newly// created SectionMemoryManager.ret...