Commit f0d33be
committed
[ModuleLoader] Remove
In the explicit module loaders, findModuleFilesInDirectory() is not a
supported operation and swift compiler is not expected to call this
function, thus it uses `llvm_unreachable`. However, LLDB and other
clients can configure module loader that allow fallbacks from explicit
module loaders, thus we should function calls to actually return and not
terminating the process. Just let the function return `not_supported`.
rdar://166557713llvm_unreachable in findModuleFilesInDirectory()1 parent a859ebe commit f0d33be
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2364 | 2364 | | |
2365 | 2365 | | |
2366 | 2366 | | |
2367 | | - | |
2368 | 2367 | | |
2369 | 2368 | | |
2370 | 2369 | | |
| |||
2738 | 2737 | | |
2739 | 2738 | | |
2740 | 2739 | | |
2741 | | - | |
2742 | 2740 | | |
2743 | 2741 | | |
2744 | 2742 | | |
| |||
0 commit comments