Chromium Code Reviews| Index: tools/clang/TaskToBind/README.txt |
| diff --git a/tools/clang/TaskToBind/README.txt b/tools/clang/TaskToBind/README.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4c284cd170d5cb2d6cecd98948aa68bd73c9d880 |
| --- /dev/null |
| +++ b/tools/clang/TaskToBind/README.txt |
| @@ -0,0 +1,12 @@ |
| +This is a simple example demonstrating how to use clang's facility for |
| +providing AST consumers using a plugin. |
| + |
| +Build the plugin by running `make` in this directory. |
| + |
| +Once the plugin is built, you can run it using: |
| +-- |
| +Linux: |
| +$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-file.c |
|
Nico
2011/09/15 02:50:03
print-fns?
awong
2011/09/16 02:50:41
Done.
|
| + |
| +Mac: |
| +$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-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
|