[cfe-dev] manipulating @llvm.var.annotation in AST?

Mark Brown mbrowncu98 at gmail.com
Tue Sep 13 17:28:33 PDT 2011


error: unknown argument: '-plugin-add'

Full use was: clang -cc1 -load
~/llvm/Release+Asserts/lib/libPrintFunctionNames.so -plugin-add print-fns
double_assigns.c

On Tue, Sep 13, 2011 at 8:21 PM, Joshua Cranmer <Pidgeot18 at gmail.com> wrote:

> On 9/13/2011 6:26 PM, Mark Brown wrote:
> > Theres a direct way todo this? How can I avoid writing a AST file?
> > When I run
> >
> > clang -cc1 -load ~/llvm/Release+Asserts/lib/libPrintFunctionNames.so
> > -plugin print-fns test_file.c
> > or
> > clang -cc1 -load ~/llvm/Release+Asserts/lib/libPrintFunctionNames.so
> > -plugin print-fns test_file.c -S -emit-llvm
> >
> > I don't get any output, just my own printouts.
>
> Try s/-plugin/-plugin-add/.
>
> --
> Joshua Cranmer
> News submodule owner
> DXR coauthor
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110913/0de52d49/attachment.html>


More information about the cfe-dev mailing list