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.
|
# FIXME: Clang should really export these in some reasonable manner.
|
||||||
clangCodeGen
|
clangCodeGen
|
||||||
clangAST
|
clangAST
|
||||||
|
|
||||||
|
LLVMCoverage
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -12,5 +12,8 @@ add_swift_library(swiftParse
|
|||||||
Scope.cpp
|
Scope.cpp
|
||||||
LINK_LIBRARIES
|
LINK_LIBRARIES
|
||||||
swiftSIL
|
swiftSIL
|
||||||
swiftAST)
|
swiftAST
|
||||||
|
|
||||||
|
LLVMCoverage
|
||||||
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -33,5 +33,8 @@ add_swift_library(swiftSIL
|
|||||||
TypeLowering.cpp
|
TypeLowering.cpp
|
||||||
LINK_LIBRARIES
|
LINK_LIBRARIES
|
||||||
swiftSerialization
|
swiftSerialization
|
||||||
swiftSema)
|
swiftSema
|
||||||
|
|
||||||
|
LLVMCoverage
|
||||||
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -26,4 +26,8 @@ add_swift_library(swiftSILGen
|
|||||||
SILGenProlog.cpp
|
SILGenProlog.cpp
|
||||||
SILGenStmt.cpp
|
SILGenStmt.cpp
|
||||||
SILGenType.cpp
|
SILGenType.cpp
|
||||||
LINK_LIBRARIES swiftSIL)
|
LINK_LIBRARIES
|
||||||
|
swiftSIL
|
||||||
|
|
||||||
|
LLVMCoverage
|
||||||
|
)
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ add_swift_executable(swift
|
|||||||
autolink_extract_main.cpp
|
autolink_extract_main.cpp
|
||||||
modulewrap_main.cpp
|
modulewrap_main.cpp
|
||||||
LINK_LIBRARIES
|
LINK_LIBRARIES
|
||||||
LLVMCoverage
|
|
||||||
LLVMDebugInfoCodeView
|
LLVMDebugInfoCodeView
|
||||||
swiftDriver
|
swiftDriver
|
||||||
swiftFrontendTool
|
swiftFrontendTool
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ add_swift_executable(lldb-moduleimport-test
|
|||||||
lldb-moduleimport-test.cpp
|
lldb-moduleimport-test.cpp
|
||||||
LINK_LIBRARIES
|
LINK_LIBRARIES
|
||||||
swiftASTSectionImporter swiftFrontend swiftClangImporter
|
swiftASTSectionImporter swiftFrontend swiftClangImporter
|
||||||
LLVMCoverage
|
|
||||||
LLVMDebugInfoCodeView
|
LLVMDebugInfoCodeView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ add_swift_executable(sil-extract
|
|||||||
swiftSILOptimizer
|
swiftSILOptimizer
|
||||||
swiftSerialization
|
swiftSerialization
|
||||||
swiftClangImporter
|
swiftClangImporter
|
||||||
LLVMCoverage
|
|
||||||
LLVMDebugInfoCodeView
|
LLVMDebugInfoCodeView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ add_swift_executable(sil-opt
|
|||||||
swiftIRGen
|
swiftIRGen
|
||||||
swiftSILGen
|
swiftSILGen
|
||||||
swiftSILOptimizer
|
swiftSILOptimizer
|
||||||
LLVMCoverage
|
|
||||||
LLVMDebugInfoCodeView
|
LLVMDebugInfoCodeView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ add_swift_executable(swift-ide-test
|
|||||||
swiftDriver
|
swiftDriver
|
||||||
swiftFrontend
|
swiftFrontend
|
||||||
swiftIDE
|
swiftIDE
|
||||||
LLVMCoverage
|
|
||||||
LLVMDebugInfoCodeView
|
LLVMDebugInfoCodeView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ add_swift_executable(swift-llvm-opt
|
|||||||
clangBasic
|
clangBasic
|
||||||
clangCodeGen
|
clangCodeGen
|
||||||
|
|
||||||
LLVMCoverage
|
|
||||||
LLVMDebugInfoCodeView
|
LLVMDebugInfoCodeView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ add_swift_executable(swift-remoteast-test
|
|||||||
LINK_LIBRARIES
|
LINK_LIBRARIES
|
||||||
swiftFrontendTool
|
swiftFrontendTool
|
||||||
swiftRemoteAST
|
swiftRemoteAST
|
||||||
LLVMCoverage
|
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(swift-remoteast-test edit)
|
target_link_libraries(swift-remoteast-test edit)
|
||||||
|
|||||||
@@ -10,6 +10,5 @@ target_link_libraries(SwiftParseTests
|
|||||||
swiftClangImporter
|
swiftClangImporter
|
||||||
swiftParse
|
swiftParse
|
||||||
swiftAST
|
swiftAST
|
||||||
LLVMCoverage
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user