[clang] [Driver] Remove ignored Flag form of -fauto-profile/-fprofile-sample-use (PR #113528)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 30 21:40:51 PDT 2024
================
@@ -1729,8 +1729,6 @@ defm gnu_inline_asm : BoolFOption<"gnu-inline-asm",
"Disable GNU style inline asm">,
PosFlag<SetTrue>>;
-def fprofile_sample_use : Flag<["-"], "fprofile-sample-use">, Group<f_Group>,
- Visibility<[ClangOption, CLOption]>;
def fno_profile_sample_use : Flag<["-"], "fno-profile-sample-use">, Group<f_Group>,
----------------
MaskRay wrote:
If `-fprofile-sample-use=` is added as a default option, `-fno-profile-sample-use=` can be used to cancel it. For example, it could be used as a debugging tool when you think one TU triggers a compiler bug.
https://github.com/llvm/llvm-project/pull/113528
More information about the cfe-commits
mailing list