From: Devang Patel Date: Mon, 2 Mar 2009 17:58:28 +0000 (+0000) Subject: Enable Objective-C interface debug info. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e798706bd20e514fcfeba5a7bd7200392d0e6231;p=clang Enable Objective-C interface debug info. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65850 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 101dae0592..63ba0dfd39 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -493,7 +493,6 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, case Type::Vector: case Type::ExtVector: case Type::ExtQual: - case Type::ObjCInterface: case Type::ObjCQualifiedInterface: case Type::ObjCQualifiedId: case Type::FixedWidthInt: @@ -504,6 +503,8 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, // Unsupported types return llvm::DIType(); + case Type::ObjCInterface: + Slot = CreateType(cast(Ty), Unit); break; case Type::Builtin: Slot = CreateType(cast(Ty), Unit); break; case Type::Pointer: Slot = CreateType(cast(Ty), Unit); break; case Type::Typedef: Slot = CreateType(cast(Ty), Unit); break;