mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST,DependencyScan,IRGen,Serialization,Tooling: track library style (#78777)
Track if the dependency is static or dynamic. This is in preparation for helping rename the static library to differentiate it from import libraries.
This commit is contained in:
committed by
GitHub
parent
8d69807ed6
commit
9c85fbc8da
@@ -1507,14 +1507,15 @@ void Serializer::writeInputBlock() {
|
||||
}
|
||||
}
|
||||
|
||||
if (!Options.ModuleLinkName.empty()) {
|
||||
if (!Options.ModuleLinkName.empty())
|
||||
LinkLibrary.emit(ScratchRecord, serialization::LibraryKind::Library,
|
||||
Options.AutolinkForceLoad, Options.ModuleLinkName);
|
||||
}
|
||||
for (auto dependentLib : Options.PublicDependentLibraries) {
|
||||
Options.StaticLibrary, Options.AutolinkForceLoad,
|
||||
Options.ModuleLinkName);
|
||||
|
||||
for (auto dependency : Options.PublicDependentLibraries)
|
||||
LinkLibrary.emit(ScratchRecord, serialization::LibraryKind::Library,
|
||||
Options.AutolinkForceLoad, dependentLib);
|
||||
}
|
||||
std::get<1>(dependency), Options.AutolinkForceLoad,
|
||||
std::get<0>(dependency));
|
||||
}
|
||||
|
||||
/// Translate AST default argument kind to the Serialization enum values, which
|
||||
|
||||
Reference in New Issue
Block a user