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 | 8ceb91f41b0d5557e273b95afc584a16eca65014 (patch) | |
| tree | 3b2a915ce756600a77fbdce2a653b40b7f6831bc /clang/tools/ccc/ccclib | |
| parent | f974c5703c27aabd454b8870b7cb01751379fcd1 (diff) | |
| download | bcm5719-llvm-8ceb91f41b0d5557e273b95afc584a16eca65014.tar.gz bcm5719-llvm-8ceb91f41b0d5557e273b95afc584a16eca65014.zip | |
ccc: Fix a FIXME.
llvm-svn: 64774
Diffstat (limited to 'clang/tools/ccc/ccclib')
| -rw-r--r-- | clang/tools/ccc/ccclib/Tools.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/tools/ccc/ccclib/Tools.py b/clang/tools/ccc/ccclib/Tools.py index dc1678ecbd8..c0728f5d0f7 100644 --- a/clang/tools/ccc/ccclib/Tools.py +++ b/clang/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 |

