summaryrefslogtreecommitdiffstats
path: root/scripts/check_sparse.py
Commit message (Collapse)AuthorAgeFilesLines
* meson: move sparse detection to Meson and rewrite check_sparse.pyPaolo Bonzini2020-10-041-11/+45
| | | | | | | | | Pass the path to the program to scripts/check_sparse.py, which previously was not included in config-host.mak. Change scripts/check_sparse.py to work with cgcc, which seems to work better with sparse 0.6.x. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* meson: add sparse supportPaolo Bonzini2020-08-211-0/+25
Do not use cgcc; instead, extract compilation commands from compile_commands.json and invoke sparse directly. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>