[llvmlinux] scan-build/ccc-analyzer broken?

Behan Webster behanw at converseincode.com
Wed Dec 9 01:53:37 UTC 2015

On 11/01/15 19:42, Jason A. Donenfeld wrote:
> Hi Behan,
> Any update on this?
Gah. Sorry. On the road, and I thought I'd lost the wrapper script. But 
miraculously I just found where I saved a copy for safe keeping. So safe 
I forgot I put it there...

The crux of it is that you need to do a

sed "s|-isystem| -I$ISYSTEM |"

Essentially you need to install it like this:

CLANG=`which clang`
sudo mv $CLANG ${CLANG}.real
ln clang-log-wrapper.sh $CLANG

Then try running the scan-build again...

It's messy, but works...


Behan Webster
behanw at converseincode.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-log-wrapper.sh
Type: application/x-shellscript
Size: 365 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20151208/0b10e684/attachment.bin>

More information about the LLVMLinux mailing list