[PATCH] D46187: [Analyzer] getRegisteredCheckers(): handle debug checkers too.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 5 04:42:27 PDT 2018
lebedev.ri added a comment.
In https://reviews.llvm.org/D46187#1088722, @NoQ wrote:
> It seems that you're using debug checkers of the analyzer to gain some free tools for exploring the source code (such as displaying a call graph) for free, right?
Yes.
I was interested to dump the callgraph of `DAGCombiner.cpp`, and try to analyze if there is any sane way to split it up.
I think it would require a bit of changes to that callgraph dumper (writing LOC count for the functions that actually exist-as-written (or something) in the source code, grouping the functions in the main TU into a one group), but i did not get to that.
> I believe we could also benefit from a method of extracting the analyzer's `clang -cc1` run-line from clang-tidy. This would allow arbitrary debugging over a single analyzer invocation.
I'm not really following, sorry.
Repository:
rC Clang
https://reviews.llvm.org/D46187
More information about the cfe-commits
mailing list