From: Daniel Dunbar Date: Fri, 13 Feb 2009 00:29:22 +0000 (+0000) Subject: Always pass -disable-free to clang when compiling. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a3e3caa1547098794551594c7b100d4177a6cef;p=clang Always pass -disable-free to clang when compiling. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64416 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py index 0f59f69623..074fdc68cd 100644 --- a/tools/ccc/ccclib/Tools.py +++ b/tools/ccc/ccclib/Tools.py @@ -229,6 +229,12 @@ 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