[cfe-dev] About Clang Static Analyzer

Ted Kremenek kremenek at apple.com
Thu May 13 18:03:23 PDT 2010


On May 13, 2010, at 5:02 PM, Alexei Svitkine wrote:

> Is it possible to build a clang analyzer executable without requiring
> building and linking LLVM?
> 
> Or does the analyzer actually depend on CodeGen?
> 
> -Alexei

It doesn't depend on CodeGen, but LLVM contains other supporting libraries that are used by the non-codegen aspects of Clang (e.g. libSupport).

Right now the driver executable for the clang analyzer is the same as the compiler (they are all in the executable 'clang').  There's nothing fundamental about them being in the same executable; that's just how they've been packaged.



More information about the cfe-dev mailing list