[llvm-branch-commits] [llvm-branch] r371042 - Merging r369310:
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Sep 5 02:51:30 PDT 2019
Author: hans
Date: Thu Sep 5 02:51:30 2019
New Revision: 371042
URL: http://llvm.org/viewvc/llvm-project?rev=371042&view=rev
Log:
Merging r369310:
------------------------------------------------------------------------
r369310 | hubert.reinterpretcast | 2019-08-20 01:12:48 +0200 (Tue, 20 Aug 2019) | 24 lines
[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
------------------------------------------------------------------------
Modified:
llvm/branches/release_90/ (props changed)
llvm/branches/release_90/lib/ExecutionEngine/Orc/CMakeLists.txt
llvm/branches/release_90/tools/lli/CMakeLists.txt
llvm/branches/release_90/unittests/ExecutionEngine/Orc/CMakeLists.txt
Propchange: llvm/branches/release_90/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Sep 5 02:51:30 2019
@@ -1,3 +1,3 @@
/llvm/branches/Apple/Pertwee:110850,110961
/llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,366431,366447,366481,366487,366527,366570,366660,366868,366925,367019,367030,367062,367084,367124,367215,367292,367304,367306,367314,367340-367341,367394,367396,367398,367403,367412,367417,367429,367580,367662,367750,367753,367846-367847,367898,367941,368004,368164,368230,368300,368315,368324,368477-368478,368517-368519,368554,368572,368873,369011,369026,369084,369095,369097,369168,369199,369426,369443,369886,370036,370176,370204,370271,370355,370404
+/llvm/trunk:155241,366431,366447,366481,366487,366527,366570,366660,366868,366925,367019,367030,367062,367084,367124,367215,367292,367304,367306,367314,367340-367341,367394,367396,367398,367403,367412,367417,367429,367580,367662,367750,367753,367846-367847,367898,367941,368004,368164,368230,368300,368315,368324,368477-368478,368517-368519,368554,368572,368873,369011,369026,369084,369095,369097,369168,369199,369310,369426,369443,369886,370036,370176,370204,370271,370355,370404
Modified: llvm/branches/release_90/lib/ExecutionEngine/Orc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_90/lib/ExecutionEngine/Orc/CMakeLists.txt?rev=371042&r1=371041&r2=371042&view=diff
==============================================================================
--- llvm/branches/release_90/lib/ExecutionEngine/Orc/CMakeLists.txt (original)
+++ llvm/branches/release_90/lib/ExecutionEngine/Orc/CMakeLists.txt Thu Sep 5 02:51:30 2019
@@ -33,4 +33,5 @@ target_link_libraries(LLVMOrcJIT
PRIVATE
LLVMBitReader
LLVMBitWriter
+ LLVMPasses
)
Modified: llvm/branches/release_90/tools/lli/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_90/tools/lli/CMakeLists.txt?rev=371042&r1=371041&r2=371042&view=diff
==============================================================================
--- llvm/branches/release_90/tools/lli/CMakeLists.txt (original)
+++ llvm/branches/release_90/tools/lli/CMakeLists.txt Thu Sep 5 02:51:30 2019
@@ -12,6 +12,7 @@ set(LLVM_LINK_COMPONENTS
MCJIT
Object
OrcJIT
+ Passes
RuntimeDyld
SelectionDAG
Support
Modified: llvm/branches/release_90/unittests/ExecutionEngine/Orc/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_90/unittests/ExecutionEngine/Orc/CMakeLists.txt?rev=371042&r1=371041&r2=371042&view=diff
==============================================================================
--- llvm/branches/release_90/unittests/ExecutionEngine/Orc/CMakeLists.txt (original)
+++ llvm/branches/release_90/unittests/ExecutionEngine/Orc/CMakeLists.txt Thu Sep 5 02:51:30 2019
@@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
ExecutionEngine
Object
OrcJIT
+ Passes
RuntimeDyld
Support
native
More information about the llvm-branch-commits
mailing list