[clang] [Driver][LTO] Copy fix empty stats filename to AMDGPU, HIPAMD, MinGW (PR #74178)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 2 07:41:12 PST 2023


yxsamliu wrote:

I think we should change signature of addLTOOptions. Instead of accepting a single InputInfo, it should accept InputInfoList. Then these ConstructJob members will pass Inputs to addLTOOptions, and addLTOOptions will pick the first file from it. This should be able to avoid repeated code.

https://github.com/llvm/llvm-project/pull/74178


More information about the cfe-commits mailing list