Skip to content

Commit 74de5dc

Browse files
committed
Add -explain-module-dependency-detailed new driver flag.
This flag will be used to have the driver print out all possible paths to the argument dependency module name. `-explain-module-dependency` will print the first discovered such path, in order to produce an answer sooner.
1 parent 9c94192 commit 74de5dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/swift/Option/Options.td

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,11 @@ def disable_clang_target : Flag<["-"], "disable-clang-target">,
13981398

13991399
def explain_module_dependency : Separate<["-"], "explain-module-dependency">,
14001400
Flags<[NewDriverOnlyOption]>,
1401-
HelpText<"Emit remark/notes describing why compilation may depend on a module with a given name.">;
1401+
HelpText<"Emit remark describing why compilation may depend on a module with a given name.">;
1402+
1403+
def explain_module_dependency_detailed : Separate<["-"], "explain-module-dependency-detailed">,
1404+
Flags<[NewDriverOnlyOption]>,
1405+
HelpText<"Emit remarks describing every possible dependency path that explains why compilation may depend on a module with a given name.">;
14021406

14031407
def explicit_auto_linking : Flag<["-"], "explicit-auto-linking">,
14041408
Flags<[NewDriverOnlyOption]>,

0 commit comments

Comments
 (0)