-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[Driver] Support fprofile-sample-use= for CL #117282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1736,7 +1736,7 @@ def fno_profile_sample_use : Flag<["-"], "fno-profile-sample-use">, Group<f_Grou | |
| Visibility<[ClangOption, CLOption]>; | ||
| def fprofile_sample_use_EQ : Joined<["-"], "fprofile-sample-use=">, | ||
| Group<f_Group>, | ||
| Visibility<[ClangOption, CC1Option]>, | ||
| Visibility<[ClangOption, CLOption, CC1Option]>, | ||
| HelpText<"Enable sample-based profile guided optimizations">, | ||
| MarshallingInfoString<CodeGenOpts<"SampleProfileFile">>; | ||
| def fprofile_sample_accurate : Flag<["-"], "fprofile-sample-accurate">, | ||
|
|
@@ -8484,6 +8484,9 @@ def _SLASH_fp_strict : CLFlag<"fp:strict">, HelpText<"">, Alias<ffp_model_EQ>, A | |
| def _SLASH_fsanitize_EQ_address : CLFlag<"fsanitize=address">, | ||
| HelpText<"Enable AddressSanitizer">, | ||
| Alias<fsanitize_EQ>, AliasArgs<["address"]>; | ||
| def : CLJoined<"fno-profile-sample-use">, Alias<fno_profile_sample_use>; | ||
|
||
| def : CLJoined<"fprofile-sample-use:">, Alias<fprofile_sample_use_EQ>; | ||
| def : CLJoined<"fprofile-sample-use=">, Alias<fprofile_sample_use_EQ>; | ||
| def _SLASH_GA : CLFlag<"GA">, Alias<ftlsmodel_EQ>, AliasArgs<["local-exec"]>, | ||
| HelpText<"Assume thread-local variables are defined in the executable">; | ||
| def _SLASH_GR : CLFlag<"GR">, HelpText<"Emit RTTI data (default)">; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take it this wasn't working? (Neither
/fprofile-sample-usenor/fuse-ld?)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I checked options.td.
-fprofile-sample-use was not a CLOption and there's no /fuse-ld.