Hi, I am new to LLVM and CLANG, I want to write plugin for printing detailed information about source code such as member function, function calls etc. I have referred PrintFunctionNames.cpp, and on line documentation for it, still i am confused about implementation of functions ex:- from CallGraph.cpp i want to use VisitCallExpr(CallExpr *E) and void CallGraph::print(raw_ostream &OS), also I am getting different useful functions regarding my purpose but not getting how to override those functions, is there tutorial available regarding this. Thanks & Regards Nilesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130205/5485da80/attachment.html>
On Tue, Feb 05, 2013 at 02:35:54AM -0800, Nilesh Chatekar wrote:> Hi, > I am new to LLVM and CLANG, I want to write plugin for printing detailed > information about source code such as member function, function calls etc. I > have referred PrintFunctionNames.cpp, and on line documentation for it, still i > am confused about implementation of functions > ex:- from CallGraph.cpp i want to use VisitCallExpr(CallExpr *E) and void > CallGraph::print(raw_ostream &OS), also I am getting different useful > functions regarding my purpose but not getting how to override those functions, > is there tutorial available regarding this.Try cfe-dev at cs.uiuc.edu :) HTH, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
Maybe Matching Threads
- Have you guys met an issue about "typeinfo & vtable"?
- Have you guys met an issue about "typeinfo & vtable"?
- [LLVMdev] Have you guys met this issue about "typeinfo" & "vtable" of ASTConsumer and PluginASTAction?
- [LLVMdev] [llvm-announce] Have you guys met an issue about "typeinfo & vtable"?
- building a custom plugin