Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 prin t-fns some-input-file.c | |
|
Nico
2011/09/15 02:50:03
print-fns?
awong
2011/09/16 02:50:41
Done.
| |
| 10 | |
| 11 Mac: | |
| 12 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin p rint-fns some-input-file.c | |
|
Nico
2011/09/15 02:50:03
Maybe mention
GYP_DEFINES='clang=1 clang_load=
awong
2011/09/16 02:50:41
Done.
Though actually this whole file needs to b
| |
| OLD | NEW |