mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #71586 from cachemeifyoucan/eng/PR-122814823
[Caching] Do not mix swift modules built from CAS vs. from FileSystem
This commit is contained in:
@@ -71,7 +71,8 @@ std::string CompilerInvocation::getPCHHash() const {
|
||||
SearchPathOpts.getPCHHashComponents(),
|
||||
DiagnosticOpts.getPCHHashComponents(),
|
||||
SILOpts.getPCHHashComponents(),
|
||||
IRGenOpts.getPCHHashComponents());
|
||||
IRGenOpts.getPCHHashComponents(),
|
||||
CASOpts.getPCHHashComponents());
|
||||
|
||||
return llvm::toString(llvm::APInt(64, Code), 36, /*Signed=*/false);
|
||||
}
|
||||
@@ -85,7 +86,8 @@ std::string CompilerInvocation::getModuleScanningHash() const {
|
||||
SearchPathOpts.getModuleScanningHashComponents(),
|
||||
DiagnosticOpts.getModuleScanningHashComponents(),
|
||||
SILOpts.getModuleScanningHashComponents(),
|
||||
IRGenOpts.getModuleScanningHashComponents());
|
||||
IRGenOpts.getModuleScanningHashComponents(),
|
||||
CASOpts.getModuleScanningHashComponents());
|
||||
|
||||
return llvm::toString(llvm::APInt(64, Code), 36, /*Signed=*/false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user