llvm.org GIT mirror llvm / 55392c1
[cmake] Link in LLVMPasses due to dependency by LLVMOrcJIT; NFC Summary: rL367756 (f5c40cb) increases the dependency of LLVMOrcJIT on LLVMPasses. In particular, symbols defined in LLVMPasses that are referenced by the destructor of `PassBuilder` are now referenced by LLVMOrcJIT through `Speculation.cpp.o`. We believe that referencing symbols defined in LLVMPasses in the destructor of `PassBuilder` is valid, and that adding to the set of such symbols is legitimate. To support such cases, this patch adds LLVMPasses to the set of libraries being linked when linking in LLVMOrcJIT causes such symbols from LLVMPasses to be referenced. Reviewers: Whitney, anhtuyen, pree-jackie Reviewed By: pree-jackie Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66441 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369310 91177308-0d34-0410-b5e6-96231b3b80d8 Hubert Tong 27 days ago
3 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3434 LLVMAnalysis
3535 LLVMBitReader
3636 LLVMBitWriter
37 LLVMPasses
3738 )
1111 MCJIT
1212 Object
1313 OrcJIT
14 Passes
1415 RuntimeDyld
1516 SelectionDAG
1617 Support
33 ExecutionEngine
44 Object
55 OrcJIT
6 Passes
67 RuntimeDyld
78 Support
89 native