On 2014-12-18 10:37 PM, Jean-Yves Avenard wrote:
Hi
On Friday, December 19, 2014, Ehsan Akhgari <ehsan.akhg...@gmail.com
<mailto:ehsan.akhg...@gmail.com>> wrote:
That should be it! The plugin is transparent, unless it finds an
error in which case you'll get a normal error diagnostic.
That is weird then. Because I have a patch that fails the Linux64 static
analysis test.
But I can't reproduce the issue locally (on a Mac but the code path is
common across all platforms)
I use clang/LLVM 3.6 installed using Mac ports.
Hence why I thought I was missing something.
Hmm, that is weird. Unfortunately because of bug 1111269 running the
plugin tests doesn't work as part of the build, but can you please try
the following?
$ cd objdir/build/clang-plugin/
$ make
The expected result is that you should not see any error from any of the
tests and make should return with a 0 status code. If the plugin is not
working, this should blow up.
FWIW, the LLVMCONFIG if set in the .mozconfig doesn't appear to be used,
and I get an error about llvm-config not being found. Instead I must
manually set the environment variable so compilation can proceed.
I fixed that issue in bug 1112974. Right now, the build system should
ask your compiler (through `clang -print-prog-name=llvm-config`) where
llvm-config is, so you should be picking the right llvm-config without
needing to set anything in your mozconfig/environment.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform