summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-01 03:15:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-01 03:15:49 +0000
commit9110165da9b1f351d12cd0cff5aa86beec83c4a5 (patch)
treee9b37c99780e37797d96f0b40a1189d7bc26d85c
parent079203fa1645a0443c4dafce5d3612ed31d74ccd (diff)
downloadbcm5719-llvm-9110165da9b1f351d12cd0cff5aa86beec83c4a5.tar.gz
bcm5719-llvm-9110165da9b1f351d12cd0cff5aa86beec83c4a5.zip
Add a very minimal README.txt for examples/PrintFunctionNames.
llvm-svn: 90197
-rw-r--r--clang/examples/PrintFunctionNames/README.txt10
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
+--
OpenPOWER on IntegriCloud