[LLVMdev] How to write plugin in CLANG.
陳韋任 (Wei-Ren Chen)
chenwj at iis.sinica.edu.tw
Tue Feb 5 18:32:54 PST 2013
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
More information about the llvm-dev
mailing list