summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-14 01:20:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-14 01:20:56 +0000
commitf5c79709bc08b99f4eb3e61b51e408c77a0bc046 (patch)
treede4c94d8f549d53aeb9d7f1eb147adedd2925a32 /clang/lib/CodeGen/CGDebugInfo.h
parentb1f9128c721a2ac1cb99803800bc8e24cd018ffc (diff)
downloadbcm5719-llvm-f5c79709bc08b99f4eb3e61b51e408c77a0bc046.tar.gz
bcm5719-llvm-f5c79709bc08b99f4eb3e61b51e408c77a0bc046.zip
Update debug info generation for ObjCObjectPointer changes.
- Previously this would crash on recursive types, and it was also incorrectly stripping off a level of indirection. - I'm not 100% convinced this is all correct, but it should be a monotonic improvment. llvm-svn: 75582
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index de655800fa0..ac28e5b879e 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -56,6 +56,8 @@ class CGDebugInfo {
llvm::DIType CreateType(const ComplexType *Ty, llvm::DICompileUnit U);
llvm::DIType CreateCVRType(QualType Ty, llvm::DICompileUnit U);
llvm::DIType CreateType(const TypedefType *Ty, llvm::DICompileUnit U);
+ llvm::DIType CreateType(const ObjCObjectPointerType *Ty,
+ llvm::DICompileUnit Unit);
llvm::DIType CreateType(const PointerType *Ty, llvm::DICompileUnit U);
llvm::DIType CreateType(const BlockPointerType *Ty, llvm::DICompileUnit U);
llvm::DIType CreateType(const FunctionType *Ty, llvm::DICompileUnit U);
OpenPOWER on IntegriCloud