Make sure to set the visible on a vtable; VTTs and typeinfo already
handle visibility properly. Fixes <rdar://problem/8091955>. llvm-svn: 105977
This commit is contained in:
@@ -2926,6 +2926,9 @@ CodeGenVTables::EmitVTableDefinition(llvm::GlobalVariable *VTable,
|
||||
|
||||
// Set the correct linkage.
|
||||
VTable->setLinkage(Linkage);
|
||||
|
||||
// Set the right visibility.
|
||||
CGM.setGlobalVisibility(VTable, RD);
|
||||
}
|
||||
|
||||
llvm::GlobalVariable *
|
||||
|
||||
Reference in New Issue
Block a user