Pull request #79404 just posted and approved after the split. Fixes fat-lto output when combining with -emit-llvm and -c.