@@ -1894,18 +1894,18 @@ def fprofile_selected_function_group :
1894
1894
Visibility<[ClangOption, CC1Option]>, MetaVarName<"<i>">,
1895
1895
HelpText<"Partition functions into N groups using -fprofile-function-groups and select only functions in group i to be instrumented. The valid range is 0 to N-1 inclusive">,
1896
1896
MarshallingInfoInt<CodeGenOpts<"ProfileSelectedFunctionGroup">>;
1897
- def fcodegen_data_generate : Joined<["-"], "fcodegen-data-generate">,
1898
- Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
1899
- HelpText<"Emit codegen data into object file. LLD for MachO (for now) merges them into default.cgdata">;
1900
1897
def fcodegen_data_generate_EQ : Joined<["-"], "fcodegen-data-generate=">,
1901
- Group<f_Group>, Visibility<[ClangOption, CC1Option]>, MetaVarName<"<directory >">,
1902
- HelpText<"Emit codegen data into object file. LLD for MachO (for now ) merges them into < directory>/default.cgdata">;
1903
- def fcodegen_data_use : Joined <["-"], "fcodegen-data-use ">,
1904
- Group<f_Group>, Visibility<[ClangOption, CC1Option] >,
1905
- HelpText<"Use codegen data read from default.cgdata to optimize the binary ">;
1898
+ Group<f_Group>, Visibility<[ClangOption, CC1Option]>, MetaVarName<"<path >">,
1899
+ HelpText<"Emit codegen data into the object file. LLD for MachO (currently ) merges them into a <path> file. If the path is a directory, it writes to <path >/default.cgdata. ">;
1900
+ def fcodegen_data_generate : Flag <["-"], "fcodegen-data-generate ">,
1901
+ Group<f_Group>, Visibility<[ClangOption, CLOption]>, Alias<fcodegen_data_generate_EQ >,
1902
+ HelpText<"Emit codegen data into the object file. LLD for MachO (currently) merges them into default.cgdata. ">;
1906
1903
def fcodegen_data_use_EQ : Joined<["-"], "fcodegen-data-use=">,
1907
- Group<f_Group>, Visibility<[ClangOption, CC1Option]>, MetaVarName<"<directory>">,
1908
- HelpText<"Use codegen data read from <directory>/default.cgdata to optimize the binary">;
1904
+ Group<f_Group>, Visibility<[ClangOption, CC1Option]>, MetaVarName<"<path>">,
1905
+ HelpText<"Use codegen data read from a <path> file. If the path is a directory, it reads from <path>/default.cgdata.">;
1906
+ def fcodegen_data_use : Flag<["-"], "fcodegen-data-use">,
1907
+ Group<f_Group>, Visibility<[ClangOption, CC1Option]>, Alias<fcodegen_data_use_EQ>,
1908
+ HelpText<"Use codegen data read from default.cgdata to optimize the binary">;
1909
1909
def fswift_async_fp_EQ : Joined<["-"], "fswift-async-fp=">,
1910
1910
Group<f_Group>,
1911
1911
Visibility<[ClangOption, CC1Option, CC1AsOption, CLOption]>,
0 commit comments