Added internal command logging.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51003 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/scan-build b/utils/scan-build
index 1514db3..5a74c8c 100755
--- a/utils/scan-build
+++ b/utils/scan-build
@@ -662,6 +662,10 @@
   $ENV{'CCC_ANALYZER_VERBOSE'} = 1;
 }
 
+if ($Verbose >= 3) {
+  $ENV{'CCC_ANALYZER_LOG'} = 1;
+}
+
 # Run the build.
 
 RunBuildCommand(\@ARGV, $IgnoreErrors);