summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-08-21 06:25:03 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-08-21 06:25:03 +0000
commit8f189a9911a992a5c4118c3789485a85bd96e045 (patch)
treee8addf1f4a5d6eb187ae3ebb7a93824bdf563e48 /lib/CodeGen/CodeGenModule.h
parentbca2c4fab5c67a9121c96f15fb5caf09c25cf8f6 (diff)
downloadclang-8f189a9911a992a5c4118c3789485a85bd96e045.tar.gz
clang-8f189a9911a992a5c4118c3789485a85bd96e045.tar.bz2
clang-8f189a9911a992a5c4118c3789485a85bd96e045.tar.xz
Abstract out virtual calls and virtual function prologue code generation; implement them for -cxx-abi microsoft
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 393d96dc3a..96b97bc180 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -519,8 +519,13 @@ public:
CodeGenTypes &getTypes() { return Types; }
CodeGenVTables &getVTables() { return VTables; }
+
VTableContext &getVTableContext() { return VTables.getVTableContext(); }
+ MicrosoftVFTableContext &getVFTableContext() {
+ return VTables.getVFTableContext();
+ }
+
llvm::MDNode *getTBAAInfo(QualType QTy);
llvm::MDNode *getTBAAInfoForVTablePtr();
llvm::MDNode *getTBAAStructInfo(QualType QTy);