diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-30 16:22:46 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-30 16:22:46 +0000 |
commit | 97f7f4e43d2df00253b794d936be65d2afa78716 (patch) | |
tree | 3c80eca90a6ac17c2d9799e2be70772297206a21 /lib/MC/MCMachOStreamer.cpp | |
parent | 8e1e4cf22676c356624daeac9a1e59aada958944 (diff) |
Handle PrivateExtern eh symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCMachOStreamer.cpp')
-rw-r--r-- | lib/MC/MCMachOStreamer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp index 0982f69c5f..b5a55a7530 100644 --- a/lib/MC/MCMachOStreamer.cpp +++ b/lib/MC/MCMachOStreamer.cpp @@ -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) { |