[cfe-dev] Invoking compilation after plugin execution

Dimitrij Kotrev dimitrij.kotrev at googlemail.com
Fri Feb 18 06:55:51 PST 2011

i've written a plugin for clang, which i want to use in my compilation
process. What
i want to achieve is that my plugin executed first and then the
default compilation
starts. So far i've done the following:

1. I dumped the arguments for the default compilation with the '-###' argument.
2. Added my plugin invocation argument to these arguments. (-load
libpl.so -plugin pl)

After executing clang with the new argument string, i can see that
only my plugin is
executed and nothing else. So how do i achieve my goal?


More information about the cfe-dev mailing list