Jump to content

LLVM Compiler/Clang Plugins

From Wikibooks, open books for an open world

How to Debug a Plugin

[edit | edit source]

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