diff options
author | Eric Christopher <echristo@apple.com> | 2012-04-11 05:56:05 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-04-11 05:56:05 +0000 |
commit | be6c6869a993536d4cd007f04e84ef74a1c3b229 (patch) | |
tree | d813e6732ac8420cca01cc25a7ea5c61ab5ca908 /lib/CodeGen/CGDebugInfo.h | |
parent | 6ce48a70ace62eb0eaf7b2769d05c5f13b7c7b6c (diff) |
Enable debug info for objective c implementations that may not have
an explicit instance variable.
rdar://10590352
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index a071b06c26..ec7705c054 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -226,6 +226,12 @@ public: /// getOrCreateRecordType - Emit record type's standalone debug info. llvm::DIType getOrCreateRecordType(QualType Ty, SourceLocation L); + + /// getOrCreateInterfaceType - Emit an objective c interface type standalone + /// debug info. + llvm::DIType getOrCreateInterfaceType(QualType Ty, + SourceLocation Loc); + private: /// EmitDeclare - Emit call to llvm.dbg.declare for a variable declaration. void EmitDeclare(const VarDecl *decl, unsigned Tag, llvm::Value *AI, |