diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-01 03:15:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-01 03:15:49 +0000 |
commit | ebe6862e34166b9d71c6346b6e80283f36292b11 (patch) | |
tree | 3f199cc2525ce2691a5eb3819f97f372184387f0 | |
parent | 9ebfa31222a704690e9b6b30b7a135fe44364bc2 (diff) |
Add a very minimal README.txt for examples/PrintFunctionNames.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90197 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | examples/PrintFunctionNames/README.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/PrintFunctionNames/README.txt b/examples/PrintFunctionNames/README.txt new file mode 100644 index 0000000000..2859eeff55 --- /dev/null +++ b/examples/PrintFunctionNames/README.txt @@ -0,0 +1,10 @@ +This is a simple example demonstrating how to use clang-cc'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-cc -load path/to/PrintFunctionNames.so -plugin=print-fns some-input-file.c +-- |