[cfe-dev] PrintFunctionNames

Israel Cabrera issurfer at gmail.com
Thu Jun 24 18:02:58 PDT 2010


Hello, I looked in the history of the mailing list and found out that there
is still no solution (at least posted) about that clang is unable to find
the plugin. Has anyone make it work?
I have tried downloading the last version (from svn) and compiling, but
after compiling I only get the libPrintFunctionNames.a (not the .so file),
can someone help me to convert it to an so file, I have tried:
gcc -shared Release/PrintFunctionNames.o -o Release/PrintFunctionNames.so
-lclangIndex -lclangFrontend -lclangDriver -lclangSema -lclangAnalysis
-lclangAST -lclangParse -lclangLex -lclangBasic
but it generates a lot of errors.
I think that if maybe I got the so file I could get some more information
(because the readme says that you need that file to load it to clang).

Also is the plugin a beta? I want to get access to the AST that clang
generates, is this the right way to go? (plugin), is there another way? like
only using LLVM

Thank you for your time.

May the source code be with you!!
Eng. Israel Cabrera
Programmer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100624/ebdd3ca0/attachment.html>


More information about the cfe-dev mailing list