Skip to content

Commit 719b95f

Browse files
committed
old-driver: add -disable-cmo in Options.td
This is only needed for auto-generating the option file in the new driver
1 parent f377336 commit 719b95f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/Option/Options.td

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,10 @@ def CrossModuleOptimization : Flag<["-"], "cross-module-optimization">,
810810
Flags<[HelpHidden, FrontendOption]>,
811811
HelpText<"Perform cross-module optimization">;
812812

813+
def disableCrossModuleOptimization : Flag<["-"], "disable-cmo">,
814+
Flags<[HelpHidden, FrontendOption]>,
815+
HelpText<"Disable cross-module optimization">;
816+
813817
def ExperimentalPerformanceAnnotations : Flag<["-"], "experimental-performance-annotations">,
814818
Flags<[HelpHidden, FrontendOption]>,
815819
HelpText<"Enable experimental performance annotations">;

0 commit comments

Comments
 (0)