[cfe-commits] r146845 - /cfe/trunk/examples/PrintFunctionNames/README.txt
Dylan Noblesmith
nobled at dreamwidth.org
Sun Dec 18 03:30:54 PST 2011
Author: nobled
Date: Sun Dec 18 05:30:53 2011
New Revision: 146845
URL: http://llvm.org/viewvc/llvm-project?rev=146845&view=rev
Log:
examples: flesh out PFN readme
Show how to actually use the arguments it has.
Modified:
cfe/trunk/examples/PrintFunctionNames/README.txt
Modified: cfe/trunk/examples/PrintFunctionNames/README.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/PrintFunctionNames/README.txt?rev=146845&r1=146844&r2=146845&view=diff
==============================================================================
--- cfe/trunk/examples/PrintFunctionNames/README.txt (original)
+++ cfe/trunk/examples/PrintFunctionNames/README.txt Sun Dec 18 05:30:53 2011
@@ -7,6 +7,10 @@
--
Linux:
$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-file.c
+$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns help -plugin-arg-print-fns --example-argument some-input-file.c
+$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns -an-error some-input-file.c
Mac:
$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input-file.c
+$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns help -plugin-arg-print-fns --example-argument some-input-file.c
+$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns -an-error some-input-file.c
More information about the cfe-commits
mailing list