Stefan =?utf-8?q?Gränitz?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


aengelke wrote:

> PluginLoader.h itself looks like it's pretty widely used, but if I'm 
> understanding correctly, nobody is currently suggesting we remove that?

PluginLoader.h is only useful when the plugin registers things using global 
ctors (e.g. cl::opt), which we're moving away from towards explicit 
configuration and calling of plugin functionality through the front-end/driver 
(e.g. as already done since a long time with pass plugins, which are explicitly 
called when they can do something). Ultimately, I think we should drop 
PluginLoader entirely; for opt, llvm-lto2, and lld this should be possible 
already, which only leaves clangd and clang-tidy -- areas I don't know much 
about.

https://github.com/llvm/llvm-project/pull/243887
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to