summaryrefslogtreecommitdiffstats
path: root/clang/tools/ccc/ccclib/ToolChain.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-20 00:47:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-20 00:47:24 +0000
commit0c8d6c9d275184bbe64907d993b1fac1a74b437c (patch)
tree75ada888b7a1e04f03d7e39f74f1663e867872d8 /clang/tools/ccc/ccclib/ToolChain.py
parent8f79775a668cf96b1d0542bdc455b90d1a00420b (diff)
downloadbcm5719-llvm-0c8d6c9d275184bbe64907d993b1fac1a74b437c.tar.gz
bcm5719-llvm-0c8d6c9d275184bbe64907d993b1fac1a74b437c.zip
ccc: Darwin/x86: Add direct cpp support.
- Add Darwin_X86_CC1Tool which is shared by Darwin/x86/Compile and Darwin/x86/Preprocess tools. - Minor bug fixes (CmpDriver exit code, -x cpp-output handling, some linker argument translation). llvm-svn: 62551
Diffstat (limited to 'clang/tools/ccc/ccclib/ToolChain.py')
-rw-r--r--clang/tools/ccc/ccclib/ToolChain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/ccc/ccclib/ToolChain.py b/clang/tools/ccc/ccclib/ToolChain.py
index 7ca1257f496..c3e585efb04 100644
--- a/clang/tools/ccc/ccclib/ToolChain.py
+++ b/clang/tools/ccc/ccclib/ToolChain.py
@@ -52,7 +52,7 @@ class Darwin_X86_ToolChain(ToolChain):
self.archName = archName
self.toolMap = {
- Phases.PreprocessPhase : Tools.GCC_PreprocessTool(),
+ Phases.PreprocessPhase : Tools.Darwin_X86_PreprocessTool(self),
Phases.CompilePhase : Tools.Darwin_X86_CompileTool(self),
Phases.PrecompilePhase : Tools.GCC_PrecompileTool(),
Phases.AssemblePhase : Tools.Darwin_AssembleTool(self),
OpenPOWER on IntegriCloud