Set unnamed_addr for type infos that we are confortable marking as hidden. I
think it is safe to mark all type infos with unnamed_addr, but I am not sure. llvm-svn: 123275
This commit is contained in:
@@ -251,6 +251,7 @@ void CodeGenModule::setTypeVisibility(llvm::GlobalValue *GV,
|
||||
|
||||
// Otherwise, drop the visibility to hidden.
|
||||
GV->setVisibility(llvm::GlobalValue::HiddenVisibility);
|
||||
GV->setUnnamedAddr(true);
|
||||
}
|
||||
|
||||
llvm::StringRef CodeGenModule::getMangledName(GlobalDecl GD) {
|
||||
|
||||
Reference in New Issue
Block a user