diff --git a/clang/utils/ccc-analyzer b/clang/utils/ccc-analyzer index 6aa03bc9220e..97554a875cad 100755 --- a/clang/utils/ccc-analyzer +++ b/clang/utils/ccc-analyzer @@ -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'};