]> granicus.if.org Git - clang/commitdiff
Modified the ccc-analyzer script to print the compiler command when log level verbosi...
authorTom Care <tom.care@uqconnect.edu.au>
Wed, 29 Sep 2010 23:48:31 +0000 (23:48 +0000)
committerTom Care <tom.care@uqconnect.edu.au>
Wed, 29 Sep 2010 23:48:31 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115109 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/ccc-analyzer

index c182a686202f2883e91ee29ac1519e19b73ebdae..f579e56e8025b109ad6351b1acd1fc50f229a8bd 100755 (executable)
@@ -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.