[cfe-commits] r64774 - /cfe/trunk/tools/ccc/ccclib/Tools.py

Daniel Dunbar daniel at zuster.org
Tue Feb 17 10:07:00 PST 2009


Author: ddunbar
Date: Tue Feb 17 12:07:00 2009
New Revision: 64774

URL: http://llvm.org/viewvc/llvm-project?rev=64774&view=rev
Log:
ccc: Fix a FIXME.

Modified:
    cfe/trunk/tools/ccc/ccclib/Tools.py

Modified: cfe/trunk/tools/ccc/ccclib/Tools.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Tools.py?rev=64774&r1=64773&r2=64774&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Tools.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Tools.py Tue Feb 17 12:07:00 2009
@@ -211,6 +211,9 @@
         else:
             raise ValueError,"Unexpected output type for clang tool."
 
+        # The make clang go fast button.
+        cmd_args.append('-disable-free')
+
         if isinstance(phase.phase, Phases.AnalyzePhase):
             # Add default argument set.
             #
@@ -227,12 +230,6 @@
             for arg in arglist.getArgs(arglist.parser.XanalyzerOption):
                 cmd_args.extend(arglist.getValues(arg))
         else:
-            # The make clang go fast button.
-            # 
-            # FIXME: Always pass this, once analyzer is fixed to still
-            # write plist output with it.
-            cmd_args.append('-disable-free')
-
             # Perform argument translation for LLVM backend. This
             # takes some care in reconciling with llvm-gcc. The
             # issue is that llvm-gcc translates these options based on





More information about the cfe-commits mailing list