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 | 9110165da9b1f351d12cd0cff5aa86beec83c4a5 (patch) | |
tree | e9b37c99780e37797d96f0b40a1189d7bc26d85c /clang/examples/PrintFunctionNames | |
parent | 079203fa1645a0443c4dafce5d3612ed31d74ccd (diff) | |
download | bcm5719-llvm-9110165da9b1f351d12cd0cff5aa86beec83c4a5.tar.gz bcm5719-llvm-9110165da9b1f351d12cd0cff5aa86beec83c4a5.zip |
Add a very minimal README.txt for examples/PrintFunctionNames.
llvm-svn: 90197
Diffstat (limited to 'clang/examples/PrintFunctionNames')
-rw-r--r-- | clang/examples/PrintFunctionNames/README.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/examples/PrintFunctionNames/README.txt b/clang/examples/PrintFunctionNames/README.txt new file mode 100644 index 00000000000..2859eeff557 --- /dev/null +++ b/clang/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 +-- |