diff options
Diffstat (limited to 'clang/tools/ccc/ccclib/ToolChain.py')
| -rw-r--r-- | clang/tools/ccc/ccclib/ToolChain.py | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/clang/tools/ccc/ccclib/ToolChain.py b/clang/tools/ccc/ccclib/ToolChain.py index f2f22a064d5..62a380b013e 100644 --- a/clang/tools/ccc/ccclib/ToolChain.py +++ b/clang/tools/ccc/ccclib/ToolChain.py @@ -99,7 +99,7 @@ class Darwin_X86_ToolChain(ToolChain):              Phases.PrecompilePhase : cc,              Phases.AssemblePhase : Tools.Darwin_AssembleTool(self),              Phases.LinkPhase : Tools.Darwin_X86_LinkTool(self), -            Phases.LipoPhase : Tools.LipoTool(), +            Phases.LipoPhase : Tools.LipoTool(self),              }          if archName == 'x86_64': @@ -237,17 +237,17 @@ class Generic_GCC_ToolChain(ToolChain):      def __init__(self, driver):          super(Generic_GCC_ToolChain, self).__init__(driver) -        cc = Tools.GCC_CompileTool() +        cc = Tools.GCC_CompileTool(self)          self.clangTool = Tools.Clang_CompileTool(self)          self.toolMap = { -            Phases.PreprocessPhase : Tools.GCC_PreprocessTool(), +            Phases.PreprocessPhase : Tools.GCC_PreprocessTool(self),              Phases.AnalyzePhase : self.clangTool,              Phases.SyntaxOnlyPhase : cc,              Phases.EmitLLVMPhase : cc,              Phases.CompilePhase : cc, -            Phases.PrecompilePhase : Tools.GCC_PrecompileTool(), -            Phases.AssemblePhase : Tools.GCC_AssembleTool(), -            Phases.LinkPhase : Tools.GCC_LinkTool(), +            Phases.PrecompilePhase : Tools.GCC_PrecompileTool(self), +            Phases.AssemblePhase : Tools.GCC_AssembleTool(self), +            Phases.LinkPhase : Tools.GCC_LinkTool(self),              }      def selectTool(self, action): | 

