summaryrefslogtreecommitdiffstats
path: root/clang/tools/ccc/ccclib/Driver.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/Driver.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/Driver.py')
-rw-r--r--clang/tools/ccc/ccclib/Driver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/ccc/ccclib/Driver.py b/clang/tools/ccc/ccclib/Driver.py
index e8d2d3d0279..e52640e2525 100644
--- a/clang/tools/ccc/ccclib/Driver.py
+++ b/clang/tools/ccc/ccclib/Driver.py
@@ -662,6 +662,7 @@ class Driver(object):
not hasSaveTemps and
tool.hasIntegratedCPP()):
if (len(phase.inputs) == 1 and
+ isinstance(phase.inputs[0], Phases.JobAction) and
isinstance(phase.inputs[0].phase, Phases.PreprocessPhase)):
useIntegratedCPP = True
inputList = phase.inputs[0].inputs
OpenPOWER on IntegriCloud