summary refs log tree commit diff
path: root/src/test/run-make-fulldeps/coverage-reports-deadcode
AgeCommit message (Collapse)AuthorLines
2020-11-05rename some tests to avoid exceeding windows path limitsRich Kadel-15/+15
And restored missing error message from llvm-cov show And since some CI builds disable LLVM assertions (which disables the --debug option in llvm-cov show), I check to see if LLVM assertions are disabled, and if so, I don't add --debug and don't check the counter file diffs.
2020-11-05fix cross-platform test bugsRich Kadel-18/+0
More portable way to make python 2/3 portable. Strip Args line (with hardcoded paths) from debug counters output. Ignore diff failures from llvm-cov debug output files ("counters" files), since generic function instantiations will appear in those files with mangled names. (Sadly, the demangler is apparently not applied to the debug output.)
2020-11-05Added comments on remapping expression IDs, and URL to spanviewsRich Kadel-50/+58
2020-11-05Injecting expressions in place of counters where helpfulRich Kadel-259/+244
Implementing the Graph traits for the BasicCoverageBlock graph. optimized replacement of counters with expressions plus new BCB graphviz * Avoid adding coverage to unreachable blocks. * Special case for Goto at the end of the body. Make it non-reportable. Improved debugging and formatting options (from env) Don't automatically add counters to BCBs without CoverageSpans. They may still get counters but only if there are dependencies from other BCBs that have spans, I think. Make CodeRegions optional for Counters too. It is possible to inject counters (`llvm.instrprof.increment` intrinsic calls without corresponding code regions in the coverage map. An expression can still uses these counter values. Refactored instrument_coverage.rs -> instrument_coverage/mod.rs, and then broke up the mod into multiple files. Compiling with coverage, with the expression optimization, works on the json5format crate and its dependencies. Refactored debug features from mod.rs to debug.rs
2020-11-05Implemented CoverageGraph of BasicCoverageBlocksRich Kadel-109/+77
2020-11-05Rust coverage before splitting instrument_coverage.rsRich Kadel-156/+1769
2020-10-05Renamed tests to avoid exceeding Windows max path limitRich Kadel-0/+1396