Merge pull request #75704 from swiftlang/version-number-hack

DependencyScanner: report user module version in dependency scanning results for binary Swift modules
This commit is contained in:
Xi Ge
2024-08-06 15:42:39 -07:00
committed by GitHub
13 changed files with 70 additions and 12 deletions

View File

@@ -623,6 +623,10 @@ public:
return Bits.IsStaticLibrary;
}
llvm::VersionTuple getUserModuleVersion() const {
return UserModuleVersion;
}
/// If the module-defining `.swiftinterface` file is an SDK-relative path,
/// resolve it to be absolute to the specified SDK.
std::string resolveModuleDefiningFilePath(const StringRef SDKPath) const;