aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-14 02:03:51 +0000
committerMike Stump <mrs@apple.com>2009-05-14 02:03:51 +0000
commit9bc093c9309e04ebfff4123790405241513da1b4 (patch)
tree257b0512ef0d96905308d244957e5a2ca675002e /lib/CodeGen/CGDebugInfo.h
parentbbd53af03e4c0d055a312521d97126cd86583c30 (diff)
Enhance debug information for block literals. Radar 6867696
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r--lib/CodeGen/CGDebugInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h
index 1581637f4a..de655800fa 100644
--- a/lib/CodeGen/CGDebugInfo.h
+++ b/lib/CodeGen/CGDebugInfo.h
@@ -46,6 +46,9 @@ class CGDebugInfo {
// FIXME: Eliminate this map. Be careful of iterator invalidation.
std::map<void *, llvm::DIType> TypeCache;
+ bool BlockLiteralGenericSet;
+ llvm::DIType BlockLiteralGeneric;
+
std::vector<llvm::DIDescriptor> RegionStack;
/// Helper functions for getOrCreateType.
@@ -54,6 +57,7 @@ class CGDebugInfo {
llvm::DIType CreateCVRType(QualType Ty, llvm::DICompileUnit U);
llvm::DIType CreateType(const TypedefType *Ty, llvm::DICompileUnit U);
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);
llvm::DIType CreateType(const TagType *Ty, llvm::DICompileUnit U);
llvm::DIType CreateType(const RecordType *Ty, llvm::DICompileUnit U);