LLVM Compiler/Clang Plugins

How to Debug a PluginEdit

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