[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#459325: clang Static Analyzer



On 09/04/09 18:52 +0530, Y Giridhar Appaji Nag said ...
> On 09/04/09 10:12 +0200, Mauro Baluda said ...
> > is the static analyzer available in the version you packged for debian
> > sid?  I can't find any scan-build command
> 
> In case there is sufficient interest, I will consider packaging the
> version of clang that was tagged (in SVN) alongside a release of llvm.

Contrary to what I thought earlier (that I would be able to pull clang from
SVN at the revision when LLVM 2.5 was tagged, and build it without any
issues), I encountered a few issues.  Turns out that LLVM 2.5 was branched off
a while before 2.5 was tagged, but clang was not branched -- it continues to
be developed and depends on LLVM "trunk", and the code that is added to clang
trunk may depend on what is LLVM trunk and that may not be on the 2.5 branch.

In order to workaround this, I had to revert a few changes, specifically
r64928, r63630, r64875, r64967, r63814 (these are small changes) and the whole
RangeConstraintManager code.  The code compiles OK but I am encoutering
runtime issues now.  Even though I would be able to fix these, I don't think I
should upload this to experimental.  Depending on how this pans out, I will
probably provide packages from a private repository and re-visit this when
LLVM 2.6 is released.

Ofcourse, the best thing to do would be to prepare experimental packages of
both LLVM and clang from trunk.

Giridhar

-- 
Y Giridhar Appaji Nag | http://appaji.net/

Attachment: signature.asc
Description: Digital signature


Reply to: