diff options
author | Kostya Serebryany <kcc@google.com> | 2012-03-26 17:03:51 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2012-03-26 17:03:51 +0000 |
commit | 8cb4a070d491ddd671b049110cc8d0accb08b905 (patch) | |
tree | 069fdc3e8e7959280024f5ce210b4e2be3cd831a /lib/CodeGen/CodeGenModule.h | |
parent | 1eb18afd931f626713c066ede0707ceb522fa061 (diff) |
add tbaa metadata to vtable pointer loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 8f9cdcd9a9..5719afb612 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -448,6 +448,7 @@ public: bool shouldUseTBAA() const { return TBAA != 0; } llvm::MDNode *getTBAAInfo(QualType QTy); + llvm::MDNode *getTBAAInfoForVTablePtr(); bool isTypeConstant(QualType QTy, bool ExcludeCtorDtor); |