Automatic scan-build on the LLVM toolchain

Sylvestre Ledru sylvestre at debian.org
Sat Jul 6 07:31:49 PDT 2013


Hello,

After setting an automatic code coverage tool [1], I just plugged an
automatic scan-build on the LLVM toolchain:

http://buildd-clang.debian.net/scan-build/

Note that:
* polly is currently not analyzed. I had to disable the build until the
new version of cloog is available.
* compiler-rt is not analyzed because it does not respect the CC/CXX
argument to use the clang built locally [3]. Should I report a bug here?

This work is done through the Debian/LLVM jenkins instance [2].
The report is updated twice a day.
The scan-build/clang used to produce the report is the one published on
http://llvm.org/apt/. That means that a new feature/fix done on
scan-build will appear only about a day after on report. As a side
effect, it tests automatically the packages distributed on llvm.org/apt/.

Sylvestre

[1] http://buildd-clang.debian.net/coverage/

[2] Example:
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/build-llvm/Release/bin/clang
-fno-exceptions -fPIC -funwind-tables
-I/tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/projects/compiler-rt/lib
-I/tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/projects/compiler-rt/include
-Wall -Werror -O3 -fomit-frame-pointer -m64 -fPIE -fno-builtin
-gline-tables-only -fno-rtti -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=1 -c -o
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/build-llvm/tools/clang/runtime/compiler-rt/clang_linux/asan-x86_64/x86_64/SubDir.lib__sanitizer_common/sanitizer_symbolizer_itanium.o
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_itanium.cc

[3] http://llvm-jenkins.debian.net/



More information about the llvm-commits mailing list