[PATCH] D146777: [clang] Preliminary fat-lto-object support
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 17 17:36:23 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:7298
+ if (IsUsingLTO && Args.getLastArg(options::OPT_ffat_lto_objects)) {
+ assert(LTOMode == LTOK_Full || LTOMode == LTOK_Thin);
+ CmdArgs.push_back(Args.MakeArgString(
----------------
We also need a `err_drv_unsupported_opt_for_target` error for non-ELF
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146777/new/
https://reviews.llvm.org/D146777
More information about the cfe-commits
mailing list