You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Diagnosing LSAN Failures in the Compiler](#diagnosing-lsan-failures-in-the-compiler)
41
+
-[Diagnosing the modules and swiftinterface files that the Compiler is loading](#diagnosing-the-modules-and-swiftinterface-files-that-the-compiler-is-loading)
41
42
-[Debugging the Compiler Build](#debugging-the-compiler-build)
42
43
-[Build Dry Run](#build-dry-run)
43
44
-[Debugging the Compiler Driver](#debugging-the-compiler-driver-build)
@@ -937,6 +938,34 @@ $ apt update
937
938
$ apt install vim
938
939
```
939
940
941
+
## Diagnosing the modules and swiftinterface files that the Compiler is loading
942
+
943
+
In order to determine which swiftinterface files or modules a compiler is
944
+
loading, one can pass in the `-Rmodule-loading` flag to the compiler. This will
945
+
cause the compiler to emit diagnostics that show where it is loading modules
946
+
from. E.x.:
947
+
948
+
```
949
+
<unknown>:0: remark: 'Swift' has a required transitive dependency on 'SwiftShims'
0 commit comments