[cfe-commits] r90197 - /cfe/trunk/examples/PrintFunctionNames/README.txt

Daniel Dunbar daniel at zuster.org
Mon Nov 30 19:15:50 PST 2009


Author: ddunbar
Date: Mon Nov 30 21:15:49 2009
New Revision: 90197

URL: http://llvm.org/viewvc/llvm-project?rev=90197&view=rev
Log:
Add a very minimal README.txt for examples/PrintFunctionNames.

Added:
    cfe/trunk/examples/PrintFunctionNames/README.txt

Added: cfe/trunk/examples/PrintFunctionNames/README.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/PrintFunctionNames/README.txt?rev=90197&view=auto

==============================================================================
--- cfe/trunk/examples/PrintFunctionNames/README.txt (added)
+++ cfe/trunk/examples/PrintFunctionNames/README.txt Mon Nov 30 21:15:49 2009
@@ -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
+--





More information about the cfe-commits mailing list