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 | 141e46faf0d749356ec1de11963527aaea2b3078 (patch) | |
tree | e163d8b72faf2713c6f7532c140d52bce17d903a /clang/lib/CodeGen/CodeGenModule.h | |
parent | db534a4eb97666b5fde75e816bc91cbbb0fdf864 (diff) | |
download | llvm-141e46faf0d749356ec1de11963527aaea2b3078.zip llvm-141e46faf0d749356ec1de11963527aaea2b3078.tar.gz llvm-141e46faf0d749356ec1de11963527aaea2b3078.tar.bz2 |
add tbaa metadata to vtable pointer loads/stores
llvm-svn: 153447
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 8f9cdcd..5719afb 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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); |