[PATCH] D108881: [clang][driver] Honor the last -flto(=.*)? argument
Usman Nadeem via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 7 20:08:28 PDT 2021
mnadeem updated this revision to Diff 371241.
mnadeem added a comment.
- - Make flto an alias of flto=full.
- - Make foffload-lto an alias of foffload-lto=full.
- - Make flto_EQ_jobserver, flto_EQ_auto aliases of flto=full, since they are being treated as full lto right now.
- - Clean up the code for parseLTOMode and setLTOMode.
- - Replace uses of OPT_flto with OPT_flto_EQ.
I'm not very familiar with driver code so let me know if I made any mistake or left anything out.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108881/new/
https://reviews.llvm.org/D108881
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/amdgpu-toolchain.c
clang/test/Driver/lto.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108881.371241.patch
Type: text/x-patch
Size: 8673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210908/c28146d9/attachment.bin>
More information about the cfe-commits
mailing list