aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-02 21:39:47 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-02 21:39:47 +0000
commitd6261a96cd470c148c474c8ebeacabc40e0ebb37 (patch)
treeb8b6f2499cc7a1c3468c30d4150f902ce8cc8916
parent967e5d7ebb775a93f9c200d19d557d18bf945f10 (diff)
[driver] Lipo can handle the lto-bc type.
rdar://12000401 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161216 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Driver/Types.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/Types.cpp b/lib/Driver/Types.cpp
index 533e7802fa..9d8fcfd6bb 100644
--- a/lib/Driver/Types.cpp
+++ b/lib/Driver/Types.cpp
@@ -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) {