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,@ARGV);
+if  (defined $ENV{'CCC_ANALYZER_LOG'}) {
+  print "$Compiler @ARGV\n";
+}
 if ($Status) { exit($Status >> 8); }
 
 # Get the analysis options.


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to