Fix regression: immediately terminate ccc-analyzer when gcc reports an error.

llvm-svn: 55452
This commit is contained in:
Ted Kremenek 2008-08-28 01:18:44 +00:00
parent 0e92132f2a
commit 1a42278a19
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ my $Output;
# Forward arguments to gcc.
my $Status = system($CC,@ARGV);
if ($Status) { exit($Status >> 8); }
# Get the analysis options.
my $Analyses = $ENV{'CCC_ANALYZER_ANALYSIS'};