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