summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-11-13 01:54:23 +0000
committerMike Stump <mrs@apple.com>2009-11-13 01:54:23 +0000
commit83066c8dee02e9a7071a607cf162e087c47013ab (patch)
treed30b62b6b5c93bff3ad1ae0d8a88ed03391f274f /clang/lib/CodeGen/CodeGenModule.h
parenta2968e59e340cac1b3b70eebf11c8946a078d6bb (diff)
downloadbcm5719-llvm-83066c8dee02e9a7071a607cf162e087c47013ab.tar.gz
bcm5719-llvm-83066c8dee02e9a7071a607cf162e087c47013ab.zip
Allow the tracking of address points for construction vtables as well.
llvm-svn: 87063
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 6fe6cf55847..c2c38e89321 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -274,8 +274,9 @@ public:
int64_t nv_r, int64_t v_r);
typedef std::pair<const CXXRecordDecl *, uint64_t> CtorVtable_t;
- llvm::DenseMap<const CXXRecordDecl *, llvm::DenseMap<CtorVtable_t,
- int64_t>*> AddressPoints;
+ typedef llvm::DenseMap<const CXXRecordDecl *,
+ llvm::DenseMap<CtorVtable_t, int64_t>*> AddrMap_t;
+ llvm::DenseMap<const CXXRecordDecl *, AddrMap_t*> AddressPoints;
/// GetCXXBaseClassOffset - Returns the offset from a derived class to its
/// base class. Returns null if the offset is 0.
OpenPOWER on IntegriCloud