[clang] [lld] [llvm] [LTO] Invoke PreCodeGenCallback from LTO backends and load plugins upfront (PR #231516)

Stefan Gränitz via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 18 08:49:49 PST 2026


weliveindetail wrote:

I’d like to go one step further and let the host load plugins in general. LTO would only consume them after a deprecation period. LoadedPassPlugins would work for all entry points and become the only supported way. I posted an RFC for that here https://discourse.llvm.org/t/rfc-lto-make-hosts-responsible-for-loading-plugins/92892 and a draft PR in https://github.com/llvm/llvm-project/pull/243887.

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


More information about the cfe-commits mailing list