Home | History | Annotate | Download | only in sancov

Lines Matching defs:Coverage

11 // coverage.
73 cl::values(clEnumValN(PrintAction, "print", "Print coverage addresses"),
74 clEnumValN(PrintCovPointsAction, "print-coverage-pcs",
75 "Print coverage instrumentation points addresses."),
81 "Print HTML coverage report."),
82 clEnumValN(StatsAction, "print-coverage-stats",
83 "Print coverage statistics."),
322 // Locate __sanitizer_cov* function addresses that are used for coverage
346 // Locate addresses of all coverage points in a file. Coverage point
411 // Sanitizer coverage uses the address of the next instruction - 1.
463 // Locate addresses of all coverage points in a file. Coverage point
511 // Leading zeroes help locate 000% coverage.
571 // Read single file coverage data.
610 // Merge multiple coverage data together.
621 // Read list of files and merges their coverage info.
634 // Print coverage addresses.
652 // Coverage data translated into source code line-level information.
658 // coverage information for the line is not available.
673 Fail("Coverage points in binary and .sancov file do not match.");
680 // Compute number of coverage points hit/total in a file.
681 // file_name -> <coverage, all_coverage>
767 // Compute % coverage for each function.
852 // Holder for coverage data + filename of corresponding object file.
907 OS << "<tr><th>File</th><th>Coverage %</th>";
948 OS << "<details open><summary>Function Coverage</summary>";
1025 std::unique_ptr<CoverageData> Coverage)
1026 : CoverageData(std::move(Coverage->Addrs)),
1031 // Multiple coverage files data organized by object file.
1041 // Partition input values into coverage/object files.
1063 // Object file => list of corresponding coverage file names.
1068 Fail("Can't match coverage file name against "
1075 Fail("Object file for coverage not found: " + FileName);
1080 // Read coverage.
1090 << " and its coverage because __sanitizer_cov* functions were not "
1106 for (const auto &Cov : Coverage) {
1112 for (const auto &Cov : Coverage) {
1119 for (const auto &Cov : Coverage) {
1127 (llvm::sys::path::filename(MainObjFile) + " Coverage Report").str();
1153 if (Coverage.size() > 1) {
1154 for (const auto &CovData : Coverage) {
1161 for (const auto &CovData : Coverage) {
1162 if (Coverage.size() > 1) {
1173 OS << "Coverage files:<ul>";
1186 bool empty() const { return Coverage.empty(); }
1194 Data->swap(this->Coverage);
1198 std::vector<std::unique_ptr<CoverageDataWithObjectFile>> Coverage;
1214 cl::ParseCommandLineOptions(argc, argv, "Sanitizer Coverage Processing Tool");
1223 // -print-coverage-points doesn't need coverage files.
1234 Fail("No coverage files specified.");