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:
Mark Lacey
2016-05-06 17:01:31 -07:00
parent 50cf0db1d2
commit 859b779f15
12 changed files with 15 additions and 11 deletions

View File

@@ -48,4 +48,6 @@ add_swift_library(swiftIRGen
# FIXME: Clang should really export these in some reasonable manner.
clangCodeGen
clangAST
LLVMCoverage
)

View File

@@ -12,5 +12,8 @@ add_swift_library(swiftParse
Scope.cpp
LINK_LIBRARIES
swiftSIL
swiftAST)
swiftAST
LLVMCoverage
)

View File

@@ -33,5 +33,8 @@ add_swift_library(swiftSIL
TypeLowering.cpp
LINK_LIBRARIES
swiftSerialization
swiftSema)
swiftSema
LLVMCoverage
)

View File

@@ -26,4 +26,8 @@ add_swift_library(swiftSILGen
SILGenProlog.cpp
SILGenStmt.cpp
SILGenType.cpp
LINK_LIBRARIES swiftSIL)
LINK_LIBRARIES
swiftSIL
LLVMCoverage
)

View File

@@ -4,7 +4,6 @@ add_swift_executable(swift
autolink_extract_main.cpp
modulewrap_main.cpp
LINK_LIBRARIES
LLVMCoverage
LLVMDebugInfoCodeView
swiftDriver
swiftFrontendTool

View File

@@ -2,7 +2,6 @@ add_swift_executable(lldb-moduleimport-test
lldb-moduleimport-test.cpp
LINK_LIBRARIES
swiftASTSectionImporter swiftFrontend swiftClangImporter
LLVMCoverage
LLVMDebugInfoCodeView
)

View File

@@ -6,7 +6,6 @@ add_swift_executable(sil-extract
swiftSILOptimizer
swiftSerialization
swiftClangImporter
LLVMCoverage
LLVMDebugInfoCodeView
)

View File

@@ -5,7 +5,6 @@ add_swift_executable(sil-opt
swiftIRGen
swiftSILGen
swiftSILOptimizer
LLVMCoverage
LLVMDebugInfoCodeView
)

View File

@@ -6,7 +6,6 @@ add_swift_executable(swift-ide-test
swiftDriver
swiftFrontend
swiftIDE
LLVMCoverage
LLVMDebugInfoCodeView
)

View File

@@ -11,7 +11,6 @@ add_swift_executable(swift-llvm-opt
clangBasic
clangCodeGen
LLVMCoverage
LLVMDebugInfoCodeView
)

View File

@@ -3,7 +3,6 @@ add_swift_executable(swift-remoteast-test
LINK_LIBRARIES
swiftFrontendTool
swiftRemoteAST
LLVMCoverage
)
target_link_libraries(swift-remoteast-test edit)

View File

@@ -10,6 +10,5 @@ target_link_libraries(SwiftParseTests
swiftClangImporter
swiftParse
swiftAST
LLVMCoverage
)