[PATCH] D9600: Add scan-build python implementation
Jonathan Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 18 12:38:07 PST 2015
jroelofs accepted this revision.
jroelofs added a reviewer: jroelofs.
jroelofs added a comment.
This revision is now accepted and ready to land.
Sounds reasonable.... and I can help with setting up the CMake & LIT goop once you've got it committed.
FWIW, I was able to get a simple example working by doing:
$ mkdir -p $build/lib/python2.7/site-packages
$ python setup.py build
$ PYTHONPATH=$build/lib/python2.7/site-packages python setup.py install --prefix=$build
$ cd path/to/example
$ PYTHONPATH=$build/lib/python2.7/site-packages $build/bin/scan-build --override-compiler --use-cc $build/bin/clang --use-analyzer $build/bin/clang make
I wasn't able to get the libear interceptor to work on my Darwin machine, but that can be debugged later.
http://reviews.llvm.org/D9600
More information about the cfe-commits
mailing list