[cfe-dev] [static analyzer]How to build scan-build?

Zx.MYS manyoushen at gmail.com
Tue May 8 02:52:18 PDT 2012


Hi all

I was trying to build scan-build with my own checker added, but got
confused. I had looked into clang makefiles but found nothing helpful.

http://clang-analyzer.llvm.org/installation.html says the locations of
the scan-build and scan-view are different from where other clang
binaries being build. However it appears that they are not being build
at all when I run make. After I built clang, scan-build and scan-view
are not changed. I'm sure I build clang right that I've got clang
binary with my checker added, just no new scan-build.

Could anyone help? Thanks.

--Zx



More information about the cfe-dev mailing list