Fix regression: immediately terminate ccc-analyzer when gcc reports an error.
llvm-svn: 55452
This commit is contained in:
parent
0e92132f2a
commit
1a42278a19
|
@ -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'};
|
||||
|
|
Loading…
Reference in New Issue