[PATCH] D137768: [opt][clang] Enable using -module-summary /-flto=thin with -S / -emit-llvm
Alexander Shaposhnikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 14 13:02:57 PST 2022
alexander-shaposhnikov added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:988
if (CodeGenOpts.PrepareForThinLTO && !CodeGenOpts.DisableLLVMPasses) {
if (!CodeGenOpts.ThinLinkBitcodeFile.empty()) {
ThinLinkOS = openOutputFile(CodeGenOpts.ThinLinkBitcodeFile);
----------------
tejohnson wrote:
> I'd go ahead and move this extra file emission under the EmitBC case, since it is also a BC file.
sure, will do
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137768/new/
https://reviews.llvm.org/D137768
More information about the cfe-commits
mailing list