aboutsummaryrefslogtreecommitdiff
path: root/tools/ccc/ccclib/Driver.py
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-16 21:20:42 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-16 21:20:42 +0000
commita22c16dd89bc67dda755980df871c799b13da1fa (patch)
tree9eff95189650b1ceac6da81410a16e88c510b862 /tools/ccc/ccclib/Driver.py
parent105132e7222bdad1e85704e055ab9c8b23a1eac0 (diff)
ccc: Fix thinko, add gross but effective test of translation for Darwin/X86/cc1.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/ccc/ccclib/Driver.py')
-rw-r--r--tools/ccc/ccclib/Driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ccc/ccclib/Driver.py b/tools/ccc/ccclib/Driver.py
index 79979a09c8..d10081224a 100644
--- a/tools/ccc/ccclib/Driver.py
+++ b/tools/ccc/ccclib/Driver.py
@@ -127,7 +127,7 @@ class Driver(object):
elif opt == 'host-release':
self.cccHostRelease,argv = argv[0],argv[1:]
else:
- raise ValueError,"Invalid ccc option: %r" % cccPrintOptions
+ raise ValueError,"Invalid ccc option: %r" % opt
self.hostInfo = HostInfo.getHostInfo(self)
self.toolChain = self.hostInfo.getToolChain()