[PATCH] D12906: [RFC] Bug identification("issue_hash") change for CmpRuns.py
Gyorgy Orban via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 10 06:58:19 PST 2015
o.gyorgy added a comment.
Hi,
Sorry for my late answer.
We fixed the plist parser for the CodeChecker it shoud process the
plist generated by the current trunk clang with the issue hash tags.
Right now CodeChecker does not support forwarding additional options
directly to clang (uses only the compiler options from the original
build command extended with options required for the static analyzer).
We already discussed such features. I think they will be implemented.
If you have any requirements feel free to create a new issue on our
github page, we can discuss them further there.
With the LD_PRELOAD (linux specific) technique we load a shared object
before every executable during the original build. In this shared
object we filter out the compiler calls (gcc, g++, clang ... it is
configurable) and create a compile command json file, like cmake. We
use these compilation commands to run the clang static analyzer.
With this technique we can create the compilation command json file
build system independent.
The official LD_PRELOAD documentation can be found here:
http://man7.org/linux/man-pages/man8/ld.so.8.html
Best regards,
Gyorgy
http://reviews.llvm.org/D12906
More information about the cfe-commits
mailing list