mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Explicit Module Builds] Do not attempt to re-load module dependency from
interface for index. An explicit module build compile is unable to do so because it does not have access to the interfaces. Doing this in the first place is a workaround for a known bug, which will require to be solved at the root cause instead (e.g. Deserialization Safety feature). Resolves rdar://113165898
This commit is contained in:
@@ -395,6 +395,7 @@ static void emitIndexDataForSourceFile(SourceFile &PrimarySourceFile,
|
||||
Opts.IndexIgnoreStdlib,
|
||||
Opts.IndexIncludeLocals,
|
||||
isDebugCompilation,
|
||||
Opts.DisableImplicitModules,
|
||||
Invocation.getTargetTriple(),
|
||||
*Instance.getDependencyTracker(),
|
||||
Invocation.getIRGenOptions().FilePrefixMap);
|
||||
|
||||
Reference in New Issue
Block a user