Skip to content

[upstream-update] Link LLVMDebugInfoCodeView into 6 executable tools. #4489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ add_swift_executable(swift
LINK_LIBRARIES
swiftDriver
swiftFrontendTool
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
)

target_link_libraries(swift edit)
Expand Down
4 changes: 3 additions & 1 deletion tools/lldb-moduleimport-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ add_swift_executable(lldb-moduleimport-test
lldb-moduleimport-test.cpp
LINK_LIBRARIES
swiftASTSectionImporter swiftFrontend swiftClangImporter
)
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
)

swift_install_in_component(testsuite-tools
TARGETS lldb-moduleimport-test
Expand Down
2 changes: 2 additions & 0 deletions tools/sil-extract/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_swift_executable(sil-extract
swiftSILOptimizer
swiftSerialization
swiftClangImporter
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
)

swift_install_in_component(tools
Expand Down
2 changes: 2 additions & 0 deletions tools/sil-opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ add_swift_executable(sil-opt
swiftIRGen
swiftSILGen
swiftSILOptimizer
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
)

swift_install_in_component(tools
Expand Down
2 changes: 2 additions & 0 deletions tools/swift-ide-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_swift_executable(swift-ide-test
swiftDriver
swiftFrontend
swiftIDE
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
)

# If libxml2 is available, make it available for swift-ide-test.
Expand Down
3 changes: 3 additions & 0 deletions tools/swift-llvm-opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ add_swift_executable(swift-llvm-opt
# Clang libraries included to appease the linker on linux.
clangBasic
clangCodeGen

LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
)

swift_install_in_component(tools
Expand Down