diff --git a/clang/lib/Driver/Types.cpp b/clang/lib/Driver/Types.cpp index 533e7802fa5a..9d8fcfd6bb44 100644 --- a/clang/lib/Driver/Types.cpp +++ b/clang/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) {