Index: lib/CodeGen/CodeGenTBAA.cpp |
=================================================================== |
--- lib/CodeGen/CodeGenTBAA.cpp (revision 153188) |
+++ lib/CodeGen/CodeGenTBAA.cpp (working copy) |
@@ -179,3 +179,7 @@ |
// For now, handle any other kind of type conservatively. |
return MetadataCache[Ty] = getChar(); |
} |
+ |
+llvm::MDNode *CodeGenTBAA::getTBAAInfoForVTablePtr() { |
+ return getTBAAInfoForNamedType("vtable pointer", getRoot()); |
+} |