Finisgh off rest of class_type_info rtti generation.
llvm-svn: 88823
diff --git a/clang/lib/CodeGen/CGVtable.cpp b/clang/lib/CodeGen/CGVtable.cpp
index 3c718b5..efca4f2 100644
--- a/clang/lib/CodeGen/CGVtable.cpp
+++ b/clang/lib/CodeGen/CGVtable.cpp
@@ -80,7 +80,7 @@
const CXXRecordDecl *l, uint64_t lo, CodeGenModule &cgm)
: methods(meth), Class(c), LayoutClass(l), LayoutOffset(lo),
BLayout(cgm.getContext().getASTRecordLayout(l)),
- rtti(cgm.GenerateRtti(c)), VMContext(cgm.getModule().getContext()),
+ rtti(cgm.GenerateRttiRef(c)), VMContext(cgm.getModule().getContext()),
CGM(cgm), AddressPoints(*new llvm::DenseMap<CtorVtable_t, int64_t>),
Extern(true),
LLVMPointerWidth(cgm.getContext().Target.getPointerWidth(0)) {
@@ -1022,6 +1022,7 @@
if (vtbl)
return vtbl;
vtbl = CGM.GenerateVtable(RD, RD);
+ CGM.GenerateRtti(RD);
CGM.GenerateVTT(RD);
return vtbl;
}