mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Speculatively try a different fix for LLVMCoverage linker issues.
We're still hitting undefined symbols on Linux. Hopefully this clears those up as well.
This commit is contained in:
@@ -48,4 +48,6 @@ add_swift_library(swiftIRGen
|
||||
# FIXME: Clang should really export these in some reasonable manner.
|
||||
clangCodeGen
|
||||
clangAST
|
||||
|
||||
LLVMCoverage
|
||||
)
|
||||
|
||||
@@ -12,5 +12,8 @@ add_swift_library(swiftParse
|
||||
Scope.cpp
|
||||
LINK_LIBRARIES
|
||||
swiftSIL
|
||||
swiftAST)
|
||||
swiftAST
|
||||
|
||||
LLVMCoverage
|
||||
)
|
||||
|
||||
|
||||
@@ -33,5 +33,8 @@ add_swift_library(swiftSIL
|
||||
TypeLowering.cpp
|
||||
LINK_LIBRARIES
|
||||
swiftSerialization
|
||||
swiftSema)
|
||||
swiftSema
|
||||
|
||||
LLVMCoverage
|
||||
)
|
||||
|
||||
|
||||
@@ -26,4 +26,8 @@ add_swift_library(swiftSILGen
|
||||
SILGenProlog.cpp
|
||||
SILGenStmt.cpp
|
||||
SILGenType.cpp
|
||||
LINK_LIBRARIES swiftSIL)
|
||||
LINK_LIBRARIES
|
||||
swiftSIL
|
||||
|
||||
LLVMCoverage
|
||||
)
|
||||
|
||||
@@ -4,7 +4,6 @@ add_swift_executable(swift
|
||||
autolink_extract_main.cpp
|
||||
modulewrap_main.cpp
|
||||
LINK_LIBRARIES
|
||||
LLVMCoverage
|
||||
LLVMDebugInfoCodeView
|
||||
swiftDriver
|
||||
swiftFrontendTool
|
||||
|
||||
@@ -2,7 +2,6 @@ add_swift_executable(lldb-moduleimport-test
|
||||
lldb-moduleimport-test.cpp
|
||||
LINK_LIBRARIES
|
||||
swiftASTSectionImporter swiftFrontend swiftClangImporter
|
||||
LLVMCoverage
|
||||
LLVMDebugInfoCodeView
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ add_swift_executable(sil-extract
|
||||
swiftSILOptimizer
|
||||
swiftSerialization
|
||||
swiftClangImporter
|
||||
LLVMCoverage
|
||||
LLVMDebugInfoCodeView
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ add_swift_executable(sil-opt
|
||||
swiftIRGen
|
||||
swiftSILGen
|
||||
swiftSILOptimizer
|
||||
LLVMCoverage
|
||||
LLVMDebugInfoCodeView
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ add_swift_executable(swift-ide-test
|
||||
swiftDriver
|
||||
swiftFrontend
|
||||
swiftIDE
|
||||
LLVMCoverage
|
||||
LLVMDebugInfoCodeView
|
||||
)
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ add_swift_executable(swift-llvm-opt
|
||||
clangBasic
|
||||
clangCodeGen
|
||||
|
||||
LLVMCoverage
|
||||
LLVMDebugInfoCodeView
|
||||
)
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ add_swift_executable(swift-remoteast-test
|
||||
LINK_LIBRARIES
|
||||
swiftFrontendTool
|
||||
swiftRemoteAST
|
||||
LLVMCoverage
|
||||
)
|
||||
|
||||
target_link_libraries(swift-remoteast-test edit)
|
||||
|
||||
@@ -10,6 +10,5 @@ target_link_libraries(SwiftParseTests
|
||||
swiftClangImporter
|
||||
swiftParse
|
||||
swiftAST
|
||||
LLVMCoverage
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user