<p dir="ltr"><br>
On Jul 6, 2013 7:34 AM, "Sylvestre Ledru" <<a href="mailto:sylvestre@debian.org">sylvestre@debian.org</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> After setting an automatic code coverage tool [1], I just plugged an<br>
> automatic scan-build on the LLVM toolchain:<br>
><br>
> <a href="http://buildd-clang.debian.net/scan-build/">http://buildd-clang.debian.net/scan-build/</a><br>
><br>
> Note that:<br>
> * polly is currently not analyzed. I had to disable the build until the<br>
> new version of cloog is available.<br>
> * compiler-rt is not analyzed because it does not respect the CC/CXX<br>
> argument to use the clang built locally [3]. Should I report a bug here?</p>
<p dir="ltr">I'm not sure what bug to report here, if any, compiler-rt deliberately uses the just-built clang because it has to be in lock-step with it.</p>
<p dir="ltr">This would be one of those times a compilation database, emitted by clang itself or the build system, would be a better solution than the scan-build style interception.</p>
<p dir="ltr">><br>
> This work is done through the Debian/LLVM jenkins instance [2].<br>
> The report is updated twice a day.<br>
> The scan-build/clang used to produce the report is the one published on<br>
> <a href="http://llvm.org/apt/">http://llvm.org/apt/</a>. That means that a new feature/fix done on<br>
> scan-build will appear only about a day after on report. As a side<br>
> effect, it tests automatically the packages distributed on <a href="http://llvm.org/apt/">llvm.org/apt/</a>.</p>
<p dir="ltr">Any reason this can't be a two stage and use the previous build to analyze the next?</p>
<p dir="ltr">><br>
> Sylvestre<br>
><br>
> [1] <a href="http://buildd-clang.debian.net/coverage/">http://buildd-clang.debian.net/coverage/</a><br>
><br>
> [2] Example:<br>
> /tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/build-llvm/Release/bin/clang<br>
> -fno-exceptions -fPIC -funwind-tables<br>
> -I/tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/projects/compiler-rt/lib<br>
> -I/tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/projects/compiler-rt/include<br>
> -Wall -Werror -O3 -fomit-frame-pointer -m64 -fPIE -fno-builtin<br>
> -gline-tables-only -fno-rtti -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=1 -c -o<br>
> /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<br>
> /tmp/buildd/llvm-toolchain-snapshot-3.4~svn185728/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_itanium.cc<br>
><br>
> [3] <a href="http://llvm-jenkins.debian.net/">http://llvm-jenkins.debian.net/</a><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</p>