================
@@ -3043,6 +3041,8 @@ defm fat_lto_objects : BoolFOption<"fat-lto-objects",
   PosFlag<SetTrue, [], [ClangOption, CC1Option], "Enable">,
   NegFlag<SetFalse, [], [ClangOption, CC1Option], "Disable">,
   BothFlags<[], [ClangOption, CC1Option], " fat LTO object support">>;
+def flto_partitions_EQ : Joined<["-"], "flto-partitions=">, Group<f_Group>,
----------------
jhuber6 wrote:

To my knowledge, `-f` flags tend to be for toggling specific non-standard 
behavior. They typically override as well. Most common are `-f` and `-fno` 
variants. Double dash `--` options tend to be more specific arguments for the 
driver itself and `-m` is for machine specific things. This option could 
reasonably be made `--lto-partitions`, but all of the other LTO related flags 
use `-flto` so it's consistent. Using `--flto` is definitely incorrect since it 
mixes them.

https://github.com/llvm/llvm-project/pull/133283
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to