On Wed, 11 Mar 2020, Martin Liška wrote: > > Is there a comprehensive list of plugins out in the wild using the LD > > plugin API? > > I know only about: > $ ls /usr/lib/bfd-plugins > liblto_plugin.so.0.0.0 LLVMgold.so > > and I know about Alexander Monakov (some dead code elimination plug-in).
I don't recall seeing any other plugin when working on our "debloating" stuff, but of course I suppose people could have used the plugin API for experimentation. I don't think a comprehensive list could exist. > > Note we also have to bring in gold folks (not sure if lld also > > implements the same plugin API) > > I don't see how can they be affected? As discussed downthread the other linkers could freely ignore the new callback, but fwiw LLD has no plans to implement the plugin-api.h interface: https://bugs.llvm.org/show_bug.cgi?id=42446 Alexander