[cfe-commits] r66793 - /cfe/trunk/tools/ccc/ccclib/Tools.py
Daniel Dunbar
daniel at zuster.org
Thu Mar 12 08:59:34 PDT 2009
Author: ddunbar
Date: Thu Mar 12 10:59:34 2009
New Revision: 66793
URL: http://llvm.org/viewvc/llvm-project?rev=66793&view=rev
Log:
ccc: Fix broken assertion.
Modified:
cfe/trunk/tools/ccc/ccclib/Tools.py
Modified: cfe/trunk/tools/ccc/ccclib/Tools.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Tools.py?rev=66793&r1=66792&r2=66793&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Tools.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Tools.py Thu Mar 12 10:59:34 2009
@@ -1272,7 +1272,8 @@
def constructJob(self, phase, arch, jobs, inputs,
output, outputType, arglist, linkingOutput):
- assert outputType is Types.ImageType
+
+ assert outputType in (Types.ObjectType, Types.ImageType)
cmd_args = ['-create']
cmd_args.extend(arglist.render(output))
More information about the cfe-commits
mailing list