mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
[SDKInfo] Fix SDKInfo loading to use correct VFS
Partially revert https://github.com/swiftlang/swift/pull/86309. Keep the SDKInfo parsing in the ASTContext separately from the search path configuration. This allows the availablity checking to load SDKSettings from the correct VFS. rdar://169886913
This commit is contained in:
@@ -241,8 +241,7 @@ ModuleDependencyScanningWorker::ModuleDependencyScanningWorker(
|
||||
workerCompilerInvocation->getSymbolGraphOptions(),
|
||||
workerCompilerInvocation->getCASOptions(),
|
||||
workerCompilerInvocation->getSerializationOptions(),
|
||||
ScanASTContext.SourceMgr, *workerDiagnosticEngine,
|
||||
workerCompilerInvocation->getSDKInfo()));
|
||||
ScanASTContext.SourceMgr, *workerDiagnosticEngine));
|
||||
|
||||
scanningASTDelegate = std::make_unique<InterfaceSubContextDelegateImpl>(
|
||||
workerASTContext->SourceMgr, workerDiagnosticEngine.get(),
|
||||
|
||||
Reference in New Issue
Block a user