[clang] [CGData] Clang Options (PR #90304)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 16:24:29 PDT 2024


================
@@ -2753,6 +2753,33 @@ void tools::addMachineOutlinerArgs(const Driver &D,
       addArg(Twine("-enable-machine-outliner=never"));
     }
   }
+
+  auto *CodeGenDataGenArg =
+      Args.getLastArg(options::OPT_fcodegen_data_generate,
----------------
jansvoboda11 wrote:

Since `fcodegen_data_generate` is now an alias of `fcodegen_data_generate_EQ`, do we need to check for both here? I'd expect checking for the `_EQ` variant should be enough even if the command-line contains the non-`_EQ` one. Same for the other option.

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


More information about the cfe-commits mailing list