Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
CMakeLists.txt | 17-Dec-2011 | 260 | |
Makefile | 17-Dec-2011 | 756 | |
PrintFunctionNames.cpp | 17-Dec-2011 | 2.1K | |
PrintFunctionNames.exports | 17-Dec-2011 | 19 | |
README.txt | 17-Dec-2011 | 442 |
1 This is a simple example demonstrating how to use clang's facility for 2 providing AST consumers using a plugin. 3 4 Build the plugin by running `make` in this directory. 5 6 Once the plugin is built, you can run it using: 7 -- 8 Linux: 9 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-file.c 10 11 Mac: 12 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input-file.c 13