Skip to content

Commit 56e013e

Browse files
committed
[Serialization] Try to load transitive package dependencies in the debugger
1 parent c2181b1 commit 56e013e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: lib/Serialization/ModuleFileSharedCore.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1714,6 +1714,8 @@ ModuleFileSharedCore::getTransitiveLoadingBehavior(
17141714
// package.
17151715
if (packageName == getModulePackageName()) {
17161716
return ModuleLoadingBehavior::Required;
1717+
} else if (debuggerMode) {
1718+
return ModuleLoadingBehavior::Optional;
17171719
} else {
17181720
return ModuleLoadingBehavior::Ignored;
17191721
}

0 commit comments

Comments
 (0)