Modified the ccc-analyzer script to print the compiler command when log level verbosity is enabled. This is handy for debugging.

llvm-svn: 115109
This commit is contained in:
Tom Care 2010-09-29 23:48:31 +00:00
parent 472205be35
commit a5f13c866c
1 changed files with 3 additions and 0 deletions

View File

@ -406,6 +406,9 @@ my %Uniqued;
# Forward arguments to gcc.
my $Status = system($Compiler,@ARGV);
if (defined $ENV{'CCC_ANALYZER_LOG'}) {
print "$Compiler @ARGV\n";
}
if ($Status) { exit($Status >> 8); }
# Get the analysis options.