diff options
author | Devang Patel <dpatel@apple.com> | 2009-03-02 17:58:28 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-03-02 17:58:28 +0000 |
commit | e798706bd20e514fcfeba5a7bd7200392d0e6231 (patch) | |
tree | 4e5e9f82cefc6163a38c8495ff51297ad9e9e59f /lib/CodeGen/CGDebugInfo.cpp | |
parent | 58ae87f88d8074edd54ff5a71bee25b72afa589b (diff) |
Enable Objective-C interface debug info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<ObjCInterfaceType>(Ty), Unit); break; case Type::Builtin: Slot = CreateType(cast<BuiltinType>(Ty), Unit); break; case Type::Pointer: Slot = CreateType(cast<PointerType>(Ty), Unit); break; case Type::Typedef: Slot = CreateType(cast<TypedefType>(Ty), Unit); break; |