summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGVtable.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-12-06 01:09:21 +0000
committerAnders Carlsson <andersca@mac.com>2009-12-06 01:09:21 +0000
commitfe5f7d916fced861b9e75da6f83f783dae940f59 (patch)
tree96a3e8050209df7f5d630deb57dcafd1c3164ee3 /clang/lib/CodeGen/CGVtable.h
parent66aaa395686558931a349fcae040143cec5a6e2f (diff)
downloadbcm5719-llvm-fe5f7d916fced861b9e75da6f83f783dae940f59.tar.gz
bcm5719-llvm-fe5f7d916fced861b9e75da6f83f783dae940f59.zip
Set the correct linkage for VTTs as well.
llvm-svn: 90689
Diffstat (limited to 'clang/lib/CodeGen/CGVtable.h')
-rw-r--r--clang/lib/CodeGen/CGVtable.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVtable.h b/clang/lib/CodeGen/CGVtable.h
index 107db2f02a9..fd7a4865b64 100644
--- a/clang/lib/CodeGen/CGVtable.h
+++ b/clang/lib/CodeGen/CGVtable.h
@@ -101,7 +101,10 @@ class CGVtableInfo {
GenerateVtable(llvm::GlobalVariable::LinkageTypes Linkage,
bool GenerateDefinition, const CXXRecordDecl *LayoutClass,
const CXXRecordDecl *RD, uint64_t Offset);
-
+
+ llvm::GlobalVariable *GenerateVTT(llvm::GlobalVariable::LinkageTypes Linkage,
+ const CXXRecordDecl *RD);
+
public:
CGVtableInfo(CodeGenModule &CGM)
: CGM(CGM) { }
OpenPOWER on IntegriCloud