[cfe-dev] A plugin proposal for clang
David Chisnall
csdavec at swan.ac.uk
Sat Oct 15 01:44:11 PDT 2011
On 15 Oct 2011, at 01:31, Joshua Cranmer wrote:
> • Custom optimization passes
These are more likely to be LLVM plugins than clang plugins. We already have a mechanism for optimisation plugins to automatically insert themselves into the optimiser chain - I'm using this for some Objective-C optimisations.
These would be better loaded from a config file by the LLVM plugin loader, because there is no sensible way for clang to pass optimisation plugins to the linker for LTO.
David
More information about the cfe-dev
mailing list