SuccessChanges

Summary

  1. [cmake] Link in LLVMPasses due to dependency by LLVMOrcJIT; NFC (details)
Commit 71974b517550fbcf3b24dc1cf9f8de4a343c86de by hubert.reinterpretcast
[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
llvm-svn: 369310
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt (diff)
The file was modifiedllvm/tools/lli/CMakeLists.txt (diff)
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CMakeLists.txt (diff)