aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/ccc-analyzer2
-rwxr-xr-xutils/scan-build6
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 739e24805e..845977eb7c 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -48,7 +48,7 @@ sub ProcessClangFailure {
close OUT;
`uname -a >> $PPFile.info 2>&1`;
`$CC -v >> $PPFile.info 2>&1`;
- system 'mv',$ofile,"$PPFile.output";
+ system 'mv',$ofile,"$PPFile.stderr.txt";
}
##----------------------------------------------------------------------------##
diff --git a/utils/scan-build b/utils/scan-build
index f8d2d8f42b..bef022ba3d 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -587,7 +587,7 @@ ENDTEXT
<p>The analyzer had problems processing the following files:</p>
<table>
-<thead><tr><td>Problem</td><td>Source File</td><td>Preprocessed File</td></tr></thead>
+<thead><tr><td>Problem</td><td>Source File</td><td>Preprocessed File</td><td>STDERR Output</td></tr></thead>
ENDTEXT
foreach my $file (sort @files) {
@@ -604,8 +604,8 @@ ENDTEXT
close (INFO);
# Print the information in the table.
my $prefix = GetPrefix();
- if (defined $prefix) { $srcfile =~ s/^$prefix//; }
- print OUT "<tr><td>$problem</td><td>$srcfile</td><td class=\"View\"><a href=\"crashes/$ppfile\">View</a></td></tr>\n";
+ 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";
}
print OUT <<ENDTEXT;