diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-17 18:07:00 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-17 18:07:00 +0000 |
commit | 87a7b2833e1017a766b28743558c2bb4db156784 (patch) | |
tree | 2175ddbb03611bb873a60ce75e1686ab310d55f8 /tools/ccc/ccclib/Tools.py | |
parent | 29ba6b432264f2b4baf8ccdde3f27b3c0f976918 (diff) |
ccc: Fix a FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/ccc/ccclib/Tools.py')
-rw-r--r-- | tools/ccc/ccclib/Tools.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py index dc1678ecbd..c0728f5d0f 100644 --- a/tools/ccc/ccclib/Tools.py +++ b/tools/ccc/ccclib/Tools.py @@ -211,6 +211,9 @@ class Clang_CompileTool(Tool): 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 @@ class Clang_CompileTool(Tool): 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 |