Displaying 1 result from an estimated 1 matches for "buildcfg".
Did you mean:
buildcfi
2012 Oct 07
2
[LLVMdev] getting pointer to CFG object for any given C program
...= mgr.getCFG(D)) call cfg->dump()
llvm-3.1.src/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:472
- AnalysisConsumer::HandleCode(Decl *D, AnalysisMode Mode,
SetOfConstDecls *VisitedCallees)
/usr/home3/rks/llvm/llvm-3.1.src/tools/clang/lib/Analysis/CFG.cpp:3166
- CFG* CFG::buildCFG(const Decl *D, Stmt *Statement, ASTContext *C,
const BuildOptions &BO) {
CFGBuilder Builder(C, BO);
return Builder.buildCFG(D, Statement);
}
I have tried to debug clang using gdb (by running r -cc1 -analyze
-analyser-checker=Debug.DumpCFG hello.c from within gdb)
and now I know somet...