hanchenye-llvm-project/clang/examples/PrintFunctionNames
Nick Lewycky 0c49533039 Fix name to match reality.
llvm-svn: 123813
2011-01-19 05:59:39 +00:00
..
CMakeLists.txt Chris Lattner has strong opinions about directory 2010-12-23 19:38:26 +00:00
Makefile
PrintFunctionNames.cpp
PrintFunctionNames.exports
README.txt Fix name to match reality. 2011-01-19 05:59:39 +00:00

README.txt

This is a simple example demonstrating how to use clang's facility for
providing AST consumers using a plugin.

You will probably need to build clang so that it exports all symbols (disable
TOOL_NO_EXPORT in the tools/clang Makefile).

Once the plugin is built, you can run it using:
--
$ clang -cc1 -load path/to/libPrintFunctionNames.so -plugin print-fns some-input-file.c
--