Handle PrivateExtern eh symbols.

llvm-svn: 130609
This commit is contained in:
Rafael Espindola 2011-04-30 16:22:46 +00:00
parent c140b5ac84
commit 969f9f552c

View File

@ -111,6 +111,8 @@ void MCMachOStreamer::EmitEHSymAttributes(const MCSymbol *Symbol,
EmitSymbolAttribute(EHSymbol, MCSA_Global);
if (SD.getFlags() & SF_WeakDefinition)
EmitSymbolAttribute(EHSymbol, MCSA_WeakDefinition);
if (SD.isPrivateExtern())
EmitSymbolAttribute(EHSymbol, MCSA_PrivateExtern);
}
void MCMachOStreamer::EmitLabel(MCSymbol *Symbol) {