[cfe-commits] r55440 - /cfe/trunk/utils/ccc-analyzer

Ted Kremenek kremenek at apple.com
Wed Aug 27 15:30:34 PDT 2008


Author: kremenek
Date: Wed Aug 27 17:30:34 2008
New Revision: 55440

URL: http://llvm.org/viewvc/llvm-project?rev=55440&view=rev
Log:
Remove regression where the analyzer was not called.

Modified:
    cfe/trunk/utils/ccc-analyzer

Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=55440&r1=55439&r2=55440&view=diff

==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Wed Aug 27 17:30:34 2008
@@ -105,8 +105,12 @@
     push @CmdArgs,'-o';
     push @CmdArgs,$HtmlDir;
   }
-
-   system $Cmd, at CmdArgs;
+  
+  if (defined $ENV{'CCC_UBI'}) {   
+    push @CmdArgs,"--analyzer-viz-egraph-ubigraph";
+  }
+  
+  system $Cmd, at CmdArgs;
 
    # Did the command die because of a signal?
    if ($? & 127 and $Cmd eq $Clang and defined $HtmlDir) {
@@ -188,7 +192,6 @@
 
 # Forward arguments to gcc.
 my $Status = system($CC, at ARGV);
-if ($Status) { exit($Status >> 8); }
 
 # Get the analysis options.
 my $Analyses = $ENV{'CCC_ANALYZER_ANALYSIS'};
@@ -324,8 +327,6 @@
   if (!($Arg =~ /^-/)) {
     push @Files,$Arg; next;
   }
-  
-  exit 0;
 }
 
 if ($Action eq 'compile' or $Action eq 'link') {
@@ -357,3 +358,6 @@
   }
 }
 
+exit($Status >> 8);
+
+





More information about the cfe-commits mailing list