[llvm] abdefc8 - [Orc] Try to fix linker error
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 08:42:57 PST 2023
Author: Nikita Popov
Date: 2023-02-28T17:42:47+01:00
New Revision: abdefc895d7486f6b1dcd14139a6753fb09fa990
URL: https://github.com/llvm/llvm-project/commit/abdefc895d7486f6b1dcd14139a6753fb09fa990
DIFF: https://github.com/llvm/llvm-project/commit/abdefc895d7486f6b1dcd14139a6753fb09fa990.diff
LOG: [Orc] Try to fix linker error
Try to fix flang-aarch64-sharedlibs build.
7344f8a8442a9c3cef159445f71b4f2886ed2798 introduced a use of
LLVMCreatePassBuilderOptions(), which is part of the Passes
library, while previously only InstCombine was linked.
Added:
Modified:
llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/CMakeLists.txt b/llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/CMakeLists.txt
index c8373bb86aac..af1b43e43e11 100644
--- a/llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/CMakeLists.txt
+++ b/llvm/examples/OrcV2Examples/OrcV2CBindingsIRTransforms/CMakeLists.txt
@@ -1,11 +1,11 @@
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
- InstCombine
IRReader
JITLink
MC
OrcJIT
+ Passes
Support
Target
nativecodegen
More information about the llvm-commits
mailing list