[cfe-dev] HTML checker diagnostics

Chris Lattner clattner at apple.com
Sat Jul 10 10:51:25 PDT 2010


On Jul 7, 2010, at 8:44 PM, Andrew McGregor wrote:

> When running static analysis with HTML output, the report files and memory usage during report generation can be enormous.  For example, I have some files of around 15000 lines that cannot have their scan reports output on a 32 bit machine due to running out of address space, which seems a little ridiculous.

Yes, I agree with you that that is ridiculous :)

> Wouldn't it be better if we only outputted HTML for the function(s) that were touched by the reported paths, rather than the whole file?  Or, is there some other way to reduce the memory consumption of the rewriter?

Yep, outputting just the function being reported about is highly desired.  I don't know of anyone working on this though.

-Chris





More information about the cfe-dev mailing list