[cfe-dev] Multiple plug-ins in one shared lib?
Erik Verbruggen
erikjv at me.com
Mon Dec 12 05:41:19 PST 2011
Hello,
I could not find it back in the mailinglist archives, so: can I put
multiple clang plug-ins into a single shared library? I tried to do
that, but when I run it with:
clang -cc1 -load libA.dylib -plugin B -plugin C test.cpp
.. then only the C plug-in (the last -plugin) is run. If this is not
possible (yet?), is there another way to register multiple
ASTConsumer/RecursiveASTVisitor classes from a PluginASTAction?
-- Erik.
More information about the cfe-dev
mailing list