From c3a46ef9f86aa0b38d3baf75d59cacc55cd7ba24 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sun, 6 Dec 2009 01:09:21 +0000 Subject: Set the correct linkage for VTTs as well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90689 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 65ca758405..cf36bcf9a0 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -212,15 +212,14 @@ public: llvm::Constant *GetAddrOfFunction(GlobalDecl GD, const llvm::Type *Ty = 0); - /// GenerateVTT - Generate the VTT for the given type. - llvm::Constant *GenerateVTT(const CXXRecordDecl *RD); - /// GenerateRTTI - Generate the rtti information for the given type. llvm::Constant *GenerateRTTI(const CXXRecordDecl *RD); + /// GenerateRTTIRef - Generate a reference to the rtti information for the /// given type. llvm::Constant *GenerateRTTIRef(const CXXRecordDecl *RD); - /// GenerateRTTINonClass - Generate the rtti information for the given + + /// GenerateRTTI - Generate the rtti information for the given /// non-class type. llvm::Constant *GenerateRTTI(QualType Ty); -- cgit v1.2.3-18-g5258