[cfe-dev] Compiling my Clang Tool using Libtool

Viktor Kaszian kaszian at cs.uni-bonn.de
Wed Apr 9 03:23:45 PDT 2014


Hi everyone,

those of you who double up on the cfe-users may remember my emails 
regarding Control Flow Graphs.

I want to try to compile a Tool that will extract the CFG from any given 
.c/.cpp source file. The core idea is to use ASTConsumer function and 
execute BuildCFG.

However I keep getting error messages when trying to compile the tool. 
These always pertain to the correct use of includes at the beginning of 
the tool. I used similar includes to those used in the tutorial 
(http://clang.llvm.org/docs/LibTooling.html), but the tutorial seems to 
skip over placing my own source file as well as correctly compiling it.

If you could help me out it would be much appreciated.

Best regards,
Viktor



More information about the cfe-dev mailing list