From 00171ffc8ee248e71eaef31c998463e99f2e602e Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 12 Mar 2009 15:59:34 +0000 Subject: [PATCH] ccc: Fix broken assertion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66793 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/ccc/ccclib/Tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ccc/ccclib/Tools.py b/tools/ccc/ccclib/Tools.py index 5ae8fddf9f..56e2032ddb 100644 --- a/tools/ccc/ccclib/Tools.py +++ b/tools/ccc/ccclib/Tools.py @@ -1272,7 +1272,8 @@ class LipoTool(Tool): 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)) -- 2.50.1