diff options
author | Mike Stump <mrs@apple.com> | 2009-11-13 01:54:23 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-11-13 01:54:23 +0000 |
commit | acfd1e5ea124ee1f6af74293ba5235771d237456 (patch) | |
tree | 536a59e84c3da604f988d016a34cadcadf5b3706 /lib/CodeGen/CodeGenModule.h | |
parent | b7ddd9ba802a5bba8dedea39e53a1a93db47b631 (diff) |
Allow the tracking of address points for construction vtables as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 6fe6cf5584..c2c38e8932 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/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. |