================
@@ -152,48 +152,38 @@ void tools::PS4cpu::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
CmdArgs.push_back(Output.getFilename());
}
- const bool UseLTO = D.isUsingLTO();
const bool UseJMC =
Args.hasFlag(options::OPT_fjmc, options::OPT_fno_jmc, false);
+ const bool UnifiedLTO = Args.hasFlag(options::OPT_funified_lto,
----------------
playstation-edd wrote:
I believe that `hasArg(options::OPT_fno_unified_lto)` won't have last-one-wins
behaviour. For example, `... -fno-unified-lto -funified-lto ...` would result
in `UnifiedLTO` being set to `false`, incorrectly.
https://github.com/llvm/llvm-project/pull/100423
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits