summaryrefslogtreecommitdiffstats
path: root/llvm/tools/sancov
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining ↵Duncan P. N. Exon Smith2016-04-051-50/+41
| | | | | | | | | | files; other minor fixes." This reverts commit r265454 since it broke the build. E.g.: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/22413/ llvm-svn: 265459
* Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; ↵Eugene Zelenko2016-04-051-41/+50
| | | | | | | | | | | | other minor fixes. Some Include What You Use suggestions were used too. Use anonymous namespaces in source files. Differential revision: http://reviews.llvm.org/D18778 llvm-svn: 265454
* [sancov] renaming statistics fields.Mike Aizatsky2016-03-241-4/+4
| | | | llvm-svn: 264349
* [sancov] adding leading zeros to coverage pct.Mike Aizatsky2016-03-241-2/+18
| | | | | | | | | | Summary: Using leading zeroes allows you to search for "000%" to find non-covered items. Differential Revision: http://reviews.llvm.org/D18420 llvm-svn: 264336
* [sancov] -print-coverage-stats option to print various coverage statistics.Mike Aizatsky2016-03-241-4/+50
| | | | | | Differential Revision: http://reviews.llvm.org/D18418 llvm-svn: 264222
* [sancov] typo fixMike Aizatsky2016-03-181-2/+2
| | | | llvm-svn: 263849
* [sancov] reformat & 1 clang-tidy warning.Mike Aizatsky2016-03-181-40/+40
| | | | llvm-svn: 263846
* [sancov] html report: replacing uncovered functions with function coverage % ↵Mike Aizatsky2016-03-181-44/+69
| | | | | | | | table. Differential Revision: http://reviews.llvm.org/D18256 llvm-svn: 263767
* [sancov] using md5 for anchors in attempt to reduce file size.Mike Aizatsky2016-03-111-6/+18
| | | | | | Differential Revision: http://reviews.llvm.org/D18102 llvm-svn: 263308
* Don't crash sancov if file is unreadable.Mike Aizatsky2016-03-111-6/+10
| | | | | | | | | | | | | | | Summary: Caller can provides the list of .so files where some files are unreadable (e.g linux-vdso.so.1). It's more convenient to handler this in sancov with warning then making all callers to check files. Reviewers: aizatsky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D18103 llvm-svn: 263307
* [sancov] print_coverage_points command.Mike Aizatsky2016-02-271-0/+18
| | | | | | Differential Revision: http://reviews.llvm.org/D17670 llvm-svn: 262104
* Fix some abuse of auto flagged by clang's -Wrange-loop-analysis.Benjamin Kramer2016-02-221-1/+1
| | | | llvm-svn: 261524
* fixing msvc warning.Mike Aizatsky2016-02-201-1/+2
| | | | llvm-svn: 261396
* [sancov] sanitizer html report cosmetic improvements.Mike Aizatsky2016-02-191-15/+25
| | | | llvm-svn: 261375
* [sancov] widening default blacklist.Mike Aizatsky2016-02-191-1/+4
| | | | | | Differential Revision: http://reviews.llvm.org/D17426 llvm-svn: 261291
* [sancov] Adding covered/uncovered tables to coverage report.Mike Aizatsky2016-02-191-204/+462
| | | | | | | | | | | | | | | Summary: This change adds 3 tables to html report: - list of covered files with number of functions covered. - list of not covered files - list of not covered functions. I tried to put most coverage-calculating functionality into SourceCoverageData. Differential Revision: http://reviews.llvm.org/D17421 llvm-svn: 261287
* [sancov] improved object files handling.Mike Aizatsky2016-02-121-101/+278
| | | | | | | | | | | | | | | | | | | Multi-dso programs result in multiple coverage files dumped of the form '<module_name>.<pid>.sancov'. When analyzing these coverage files it is important to use correct corresponding object file. This change removes the "-obj" sancov flag and lets user specify object file names alongside coverage files. Sancov tool would match them using <module_name> part of coverage file and short file name of the object file. Corresponding changes: - compiler-rt: http://reviews.llvm.org/D17171 - docs: http://reviews.llvm.org/D17175 Differential Revision: http://reviews.llvm.org/D17169 llvm-svn: 260628
* Remove autoconf supportChris Bieneman2016-01-261-18/+0
| | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened." - Obi Wan Kenobi Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D16471 llvm-svn: 258861
* Reflect the MC/MCDisassembler split on the include/ level.Benjamin Kramer2016-01-261-1/+1
| | | | | | No functional change, just moving code around. llvm-svn: 258818
* [sancov] html reportMike Aizatsky2016-01-141-6/+144
| | | | | | Differential Revision: http://reviews.llvm.org/D16161 llvm-svn: 257824
* [sancov] IWYU fix: add proper header inclusion.Alexey Samsonov2015-12-181-0/+1
| | | | llvm-svn: 256040
* [sancov] blacklist support.Mike Aizatsky2015-12-161-5/+48
| | | | | | | | | | Summary: Using the blacklist the user can filter own unwanted functions from all outputs. By default blacklist contains "fun:__sancov*" line. Differential Revision: http://reviews.llvm.org/D15364 llvm-svn: 255732
* sancov: coverage can be reported by multiple functions.Mike Aizatsky2015-12-141-10/+19
| | | | | | Differential Revision: http://reviews.llvm.org/D15430 llvm-svn: 255582
* fixing MakefileMike Aizatsky2015-12-041-1/+2
| | | | llvm-svn: 254749
* adding MC dependencies in hopes to pacify the hexagon build.Mike Aizatsky2015-12-041-0/+2
| | | | llvm-svn: 254745
* sancov -not-covered-functions.Mike Aizatsky2015-12-042-88/+305
| | | | | | | | | | | | Summary: The command prints out list of functions that were not entered. To do this, addresses are first converted to function locations. Set operations are used for function locations. Differential Revision: http://reviews.llvm.org/D14889 review llvm-svn: 254742
* sancov test suiteMike Aizatsky2015-11-121-3/+6
| | | | | | Differential Revision: http://reviews.llvm.org/D14589 llvm-svn: 252933
* Adding qualifier for make_unique.Mike Aizatsky2015-11-111-2/+2
| | | | | | | | Summary: MSVC gets confused. Differential Revision: http://reviews.llvm.org/D14585 llvm-svn: 252804
* sancov tool in c++Mike Aizatsky2015-11-113-0/+292
First batch of sancov.py rewrite in c++. Supports "-print" and "-coveredfns" commands. Followup to http://reviews.llvm.org/D14356 in a better location. Differential Revision: http://reviews.llvm.org/D14579 llvm-svn: 252801
OpenPOWER on IntegriCloud