julia
13b73ed0 - Replace SimpleCompiler to avoid a copy and createObjectFile (#59486)

Commit
97 days ago
Replace SimpleCompiler to avoid a copy and createObjectFile (#59486) Replace the call to orc::SimpleCompiler::operator() with equivalent code that doesn't unnecessarily parse the object file again (if it would have failed, we're going to find out later anyway). This also lets us make the MemoryBuffer name unique and avoid copying it in JuliaOJIT::addObjectFile. REF: https://github.com/JuliaLang/llvm-project/blob/85122d41d6783e828412f9a1d0f7c771e2a38acc/llvm/lib/ExecutionEngine/Orc/CompileUtils.cpp#L38-L67
Author
Parents
Loading