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


MaskRay wrote:

I support the RFC's main point: hosts load plugins, and LTO only uses them. 
That also matches the plugin-instance model @aengelke sketched, where the 
frontend creates and configures the instance for each compilation and LTO 
consumes it.

Parts I want to change:

* lld shouldn't add -mllvm as a way to set plugin options.  #244944 will add 
`--pass-plugin-arg=<plugin>,<arg>` to ld.lld and ld64.lld. In lld, I plan to 
revert `#include "llvm/Support/PluginLoader.h"` from 
https://reviews.llvm.org/D75879
* I'd remove PassPluginFilenames here instead of deprecating it. I don't think 
we need compatibility for this niche option. @efriedma-quic 

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