]> granicus.if.org Git - clang/commitdiff
[driver] Lipo can handle the lto-bc type.
authorChad Rosier <mcrosier@apple.com>
Thu, 2 Aug 2012 21:39:47 +0000 (21:39 +0000)
committerChad Rosier <mcrosier@apple.com>
Thu, 2 Aug 2012 21:39:47 +0000 (21:39 +0000)
rdar://12000401

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161216 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Types.cpp

index 533e7802fa5a2ef5b69973cae34bfe86217c5b4f..9d8fcfd6bb44a98a57fd2988f0aa3ff699a40ae6 100644 (file)
@@ -67,7 +67,8 @@ bool types::appendSuffixForType(ID Id) {
 bool types::canLipoType(ID Id) {
   return (Id == TY_Nothing ||
           Id == TY_Image ||
-          Id == TY_Object);
+          Id == TY_Object ||
+          Id == TY_LTO_BC);
 }
 
 bool types::isAcceptedByClang(ID Id) {