[cfe-commits] r115109 - /cfe/trunk/tools/scan-build/ccc-analyzer

Tom Care tcare at apple.com
Wed Sep 29 16:48:31 PDT 2010


Author: tcare
Date: Wed Sep 29 18:48:31 2010
New Revision: 115109

URL: http://llvm.org/viewvc/llvm-project?rev=115109&view=rev
Log:
Modified the ccc-analyzer script to print the compiler command when log level verbosity is enabled. This is handy for debugging.

Modified:
    cfe/trunk/tools/scan-build/ccc-analyzer

Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=115109&r1=115108&r2=115109&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Wed Sep 29 18:48:31 2010
@@ -406,6 +406,9 @@
 
 # Forward arguments to gcc.
 my $Status = system($Compiler, at ARGV);
+if  (defined $ENV{'CCC_ANALYZER_LOG'}) {
+  print "$Compiler @ARGV\n";
+}
 if ($Status) { exit($Status >> 8); }
 
 # Get the analysis options.





More information about the cfe-commits mailing list