llvm-project/llvm/lib/ExecutionEngine/Orc
Lang Hames 7371fb4229 [ORC] Remove query dependencies when symbols are resolved.
If the dependencies are not removed then a late failure (one symbol covered by
the query failing after others have already been resolved) can result in an
attempt to detach the query from already finalized symbol, resulting in an
assert/crash. This patch fixes the issue by removing query dependencies in
JITDylib::resolve for symbols that meet the required state.

llvm-svn: 369809
2019-08-23 20:37:32 +00:00
..
CMakeLists.txt [cmake] Link in LLVMPasses due to dependency by LLVMOrcJIT; NFC 2019-08-19 23:12:48 +00:00
CompileOnDemandLayer.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
CompileUtils.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
Core.cpp [ORC] Remove query dependencies when symbols are resolved. 2019-08-23 20:37:32 +00:00
ExecutionUtils.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
IRCompileLayer.cpp [ORC] Change the locking scheme for ThreadSafeModule. 2019-08-02 15:21:37 +00:00
IRTransformLayer.cpp [ORC] Change the locking scheme for ThreadSafeModule. 2019-08-02 15:21:37 +00:00
IndirectionUtils.cpp [ORC] Fix a FIXME: Propagate errors to dependencies. 2019-08-23 20:37:31 +00:00
JITTargetMachineBuilder.cpp Re-land D65760/r367944 2019-08-06 16:24:17 +00:00
LLJIT.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
LLVMBuild.txt [JITLink][ORC] Add JITLink to the list of dependencies for ORC. 2019-04-20 22:15:57 +00:00
Layer.cpp [ORC] fix use-after-free detected by -Wreturn-stack-address 2019-08-19 21:59:44 +00:00
LazyReexports.cpp [ORC] Fix a FIXME: Propagate errors to dependencies. 2019-08-23 20:37:31 +00:00
Legacy.cpp [ORC] Update symbol lookup to use a single callback with a required symbol state 2019-06-07 19:33:51 +00:00
NullResolver.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjectLinkingLayer.cpp [ORC] Fix a FIXME: Propagate errors to dependencies. 2019-08-23 20:37:31 +00:00
ObjectTransformLayer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OrcABISupport.cpp [Support] Add error handling to sys::Process::getPageSize(). 2019-05-08 02:11:07 +00:00
OrcCBindings.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OrcCBindingsStack.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
OrcError.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OrcMCJITReplacement.cpp [ORC] Add deprecation warnings to ORCv1 layers and utilities. 2019-07-17 16:40:52 +00:00
OrcMCJITReplacement.h [ORC] Add deprecation warnings to ORCv1 layers and utilities. 2019-07-17 16:40:52 +00:00
RPCUtils.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RTDyldObjectLinkingLayer.cpp [ORC] Fix a FIXME: Propagate errors to dependencies. 2019-08-23 20:37:31 +00:00
SpeculateAnalyses.cpp Move findBBwithCalls to the file it's used in to avoid unused function 2019-08-13 00:05:01 +00:00
Speculation.cpp Speculative Compilation 2019-08-03 14:42:13 +00:00
ThreadSafeModule.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00