Index: llvm/trunk/tools/sancov/coverage-report-server.py =================================================================== --- llvm/trunk/tools/sancov/coverage-report-server.py +++ llvm/trunk/tools/sancov/coverage-report-server.py @@ -138,7 +138,7 @@ if not file_coverage: continue filelist.append( - "{name}" + "{name}" "{coverage}%".format( name=html.escape(filename, quote=True), coverage=format_pct(file_coverage))) @@ -165,7 +165,7 @@ ["{line} ".format( line=html.escape(line.rstrip()), cls=linemap.get(line_no, "")) - for line_no, line in enumerate(f)]) + for line_no, line in enumerate(f, start=1)]) response = string.Template(CONTENT_PAGE_TMPL).safe_substitute( path=self.path[1:],