[llvmlinux] [GSoC: Static analysis] Report 1 + PATCH

Jan-Simon Möller dl9pf at gmx.de
Wed Jun 26 08:24:55 UTC 2013


Comments inline ...
-- 

Dipl.-Ing.
Jan-Simon Möller

jansimon.moeller at gmx.de
On Monday 24 June 2013 20:57:00 Eduard Bachmakov wrote:
> Hey everyone,
> 
> After what felt like a million do-overs I think I found a workable
> location for the integration of clang-analyzer. See patch below.
> 
> The GOOD: x64 works. How?
> 
>     cd targets/x86_64; make kernel-scan-build; scan-view <watch end of
> output, last line before time statistics>
> 
> The BAD: Should work for other targets, however, it seems some flags
> aren't passed down in cases of cross-compilation, I'm ironing that
> out. Feel free to try though!

Check: 
ccc-analyzer ~ line 693 .  Seems like "@Archs" is empty in the ARM case and 
thus we don't set it properly (and seem like to default to x86).

> The UGLY: takes forever. However, JSM might donate a stripped down
> .config soon. That would speed things up a bit.

Best,
JS


More information about the LLVMLinux mailing list