diff options
| author | Tom Care <tom.care@uqconnect.edu.au> | 2010-09-29 23:48:31 +0000 |
|---|---|---|
| committer | Tom Care <tom.care@uqconnect.edu.au> | 2010-09-29 23:48:31 +0000 |
| commit | a5f13c866cb5982251b5833033bbbc7307674ae7 (patch) | |
| tree | 8e36ede36ef5f69f1e23db037a1afae2570f5aca /clang/tools | |
| parent | 472205be35fa17ee7c6812195d8cd699c66ae4fb (diff) | |
| download | bcm5719-llvm-a5f13c866cb5982251b5833033bbbc7307674ae7.tar.gz bcm5719-llvm-a5f13c866cb5982251b5833033bbbc7307674ae7.zip | |
Modified the ccc-analyzer script to print the compiler command when log level verbosity is enabled. This is handy for debugging.
llvm-svn: 115109
Diffstat (limited to 'clang/tools')
| -rwxr-xr-x | clang/tools/scan-build/ccc-analyzer | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer index c182a686202..f579e56e802 100755 --- a/clang/tools/scan-build/ccc-analyzer +++ b/clang/tools/scan-build/ccc-analyzer @@ -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. |

