[llvm-commits] [llvm] r130609 - /llvm/trunk/lib/MC/MCMachOStreamer.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sat Apr 30 09:22:46 PDT 2011
Author: rafael
Date: Sat Apr 30 11:22:46 2011
New Revision: 130609
URL: http://llvm.org/viewvc/llvm-project?rev=130609&view=rev
Log:
Handle PrivateExtern eh symbols.
Modified:
llvm/trunk/lib/MC/MCMachOStreamer.cpp
Modified: llvm/trunk/lib/MC/MCMachOStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCMachOStreamer.cpp?rev=130609&r1=130608&r2=130609&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCMachOStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCMachOStreamer.cpp Sat Apr 30 11:22:46 2011
@@ -111,6 +111,8 @@
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) {
More information about the llvm-commits
mailing list