[cfe-dev] scan-build in python
Jordan Rose
jordan_rose at apple.com
Tue Oct 22 11:59:03 PDT 2013
On Oct 21, 2013, at 13:59, Laszlo Nagy <rizsotto.mailinglist at gmail.com> wrote:
> thanks Jordan for the reply.
>
>> This is the right list for analyzer questions. Ted Kremenek, Anna Zaks, and I are the primary maintainers.
>> What in particular is broken in ccc-analyze / scan-build?
>
> small thing i found, when `ccc-analyzer` processes the arguments, take
> '-m.*' and put into the CompileOpts. then a few lines bellow there is
> a CompilerLinkerOptionMap lookup which has 5 parameters starting with
> '-m'. which implies they never gonna end up in CompileOpts _and_
> LinkOpts.
Ah, good catch! Fixed in r193184.
> also wondered many times where are these flags coming from? like
> '-arch'? clang/gcc does not have it. (found a few others which are
> also not found in clang/gcc.) which compiler tries the 'ccc-analyze'
> simulate?
-arch is a Darwin-specific option that provides a shorthand for -target on a few common Apple architectures. It's only enabled if the default target triple is a Darwin OS.
Jordan
More information about the cfe-dev
mailing list