summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-11-27 09:39:29 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-11-27 09:39:29 +0000
commit4e50e707bfd9aedb6cfda45b4a36089bd2086717 (patch)
tree273983365df3faa2184c3206f2e8963e6812c916 /clang/lib/CodeGen/CodeGenModule.h
parentb833bf6ae14f55272c642a5d5200fabb9f29bf69 (diff)
downloadbcm5719-llvm-4e50e707bfd9aedb6cfda45b4a36089bd2086717.tar.gz
bcm5719-llvm-4e50e707bfd9aedb6cfda45b4a36089bd2086717.zip
[CodeGen] Collect information about sizes of accesses and access types for TBAA
The information about access and type sizes is necessary for producing TBAA metadata in the new size-aware format. With this patch, D39955 and D39956 in place we should be able to change CodeGenTBAA::createScalarTypeNode() and CodeGenTBAA::getBaseTypeInfo() to generate metadata in the new format under the -new-struct-path-tbaa command-line option. For now, this new information remains unused. Differential Revision: https://reviews.llvm.org/D40176 llvm-svn: 319012
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 7a47c576c0d..03f4e50cd09 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -664,7 +664,7 @@ public:
/// getTBAAVTablePtrAccessInfo - Get the TBAA information that describes an
/// access to a virtual table pointer.
- TBAAAccessInfo getTBAAVTablePtrAccessInfo();
+ TBAAAccessInfo getTBAAVTablePtrAccessInfo(llvm::Type *VTablePtrType);
llvm::MDNode *getTBAAStructInfo(QualType QTy);
OpenPOWER on IntegriCloud