LLVM Compiler/Clang Plugins
<
LLVM Compiler
How to Debug a Plugin
There are two ways to run a Clang plugin:
call the clang frontend directly: clang -cc1 ...
call the compiler driver, clang -v, to find out real command lines