Skip to content

Commit 545655d

Browse files
committed
Make ykllvm build with -DBUILD_SHARED_LIBS=ON.
This is so that yk can link LLVM dynamically. This fixes some linkage mistakes in some yk-specific code, and also in lldb (fix taken from upstream).
1 parent fd75496 commit 545655d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

lldb/tools/lldb-instr/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ add_lldb_tool(lldb-instr
1111
clangSerialization
1212
clangTooling
1313

14+
LINK_COMPONENTS
15+
Support
1416
)

llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ add_llvm_component_library(LLVMAsmPrinter
3333
LINK_COMPONENTS
3434
Analysis
3535
BinaryFormat
36+
BitWriter
3637
CodeGen
3738
Core
3839
DebugInfoCodeView

llvm/lib/Transforms/Yk/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ add_llvm_component_library(LLVMYkPasses
1010
intrinsics_gen
1111

1212
LINK_COMPONENTS
13+
Analysis
1314
Core
1415
Support
1516
)

0 commit comments

Comments
 (0)