diff options
author | Charles Davis <cdavis@mines.edu> | 2012-06-23 23:44:00 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2012-06-23 23:44:00 +0000 |
commit | a325a6e0dc5596e7885a81a79cf09d06e4706042 (patch) | |
tree | ea00b0f3789532e5072f7cfb79762add5c6bf223 /clang/lib/CodeGen/MicrosoftCXXABI.cpp | |
parent | a899cc15f1dd5c76f63d83468831e2f4da62c4bb (diff) | |
download | bcm5719-llvm-a325a6e0dc5596e7885a81a79cf09d06e4706042.tar.gz bcm5719-llvm-a325a6e0dc5596e7885a81a79cf09d06e4706042.zip |
IRGen: Factor v-table generation into the CGCXXABI object.
llvm-svn: 159091
Diffstat (limited to 'clang/lib/CodeGen/MicrosoftCXXABI.cpp')
-rw-r--r-- | clang/lib/CodeGen/MicrosoftCXXABI.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/MicrosoftCXXABI.cpp b/clang/lib/CodeGen/MicrosoftCXXABI.cpp index b0e6317d671..026f2a5f80f 100644 --- a/clang/lib/CodeGen/MicrosoftCXXABI.cpp +++ b/clang/lib/CodeGen/MicrosoftCXXABI.cpp @@ -60,6 +60,8 @@ public: llvm::GlobalVariable *DeclPtr, bool PerformInit); + void EmitVTables(const CXXRecordDecl *Class); + // ==== Notes on array cookies ========= // @@ -165,6 +167,10 @@ void MicrosoftCXXABI::EmitGuardedInit(CodeGenFunction &CGF, const VarDecl &D, CGF.EmitCXXGlobalVarDeclInit(D, DeclPtr, PerformInit); } +void MicrosoftCXXABI::EmitVTables(const CXXRecordDecl *Class) { + // FIXME: implement +} + CGCXXABI *clang::CodeGen::CreateMicrosoftCXXABI(CodeGenModule &CGM) { return new MicrosoftCXXABI(CGM); } |