[clang] [Driver] Support fprofile-sample-use= for CL (PR #117282)

Haohai Wen via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 17:32:01 PST 2024


================
@@ -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>;
----------------
HaohaiWen wrote:

For me, /fprofile-sample-use= is needed.
 I saw other CL _EQ flags has _COL alias.
In fact, I don't really need /fno-profile-sample-use.

https://github.com/llvm/llvm-project/pull/117282


More information about the cfe-commits mailing list