Author: ddunbar
Date: Wed Sep 24 20:10:50 2008
New Revision: 56603
URL: http://llvm.org/viewvc/llvm-project?rev=56603&view=rev
Log:
Update scan-build to add markers about crashes.
Modified:
cfe/trunk/utils/scan-build
Modified: cfe/trunk/utils/scan-build
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/scan-build?rev=56603&r1=56602&r2=56603&view=diff
==============================================================================
--- cfe/trunk/utils/scan-build (original)
+++ cfe/trunk/utils/scan-build Wed Sep 24 20:10:50 2008
@@ -685,11 +685,14 @@
my $prefix = GetPrefix();
if (defined $prefix) { $srcfile =~ s/^\Q$prefix//; }
print OUT "<tr><td>$problem</td><td>$srcfile</td><td><a
href=\"crashes/$ppfile\">$ppfile</a></td><td><a
href=\"crashes/$ppfile.stderr.txt\">$ppfile.stderr.txt</a></td></tr>\n";
+ my $ppfile_clang = $ppfile;
+ $ppfile_clang =~ s/[.](.+)$/.clang.$1/;
+ print OUT " <!-- REPORTPROBLEM file=\"crashes/$ppfile\"
clangfile=\"crashes/$ppfile_clang\" stderr=\"crashes/$ppfile.stderr.txt\"
info=\"crashes/$ppfile.info\" -->\n";
}
print OUT <<ENDTEXT;
</table>
-<p>Please consider submitting preprocessed files as <a
href="http://clang.llvm.org/StaticAnalysisUsage.html#filingbugs">bug
reports</a>.</p>
+<p>Please consider submitting preprocessed files as <a
href="http://clang.llvm.org/StaticAnalysisUsage.html#filingbugs">bug
reports</a>. <!-- REPORTCRASHES --> </p>
ENDTEXT
}
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits