mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Handle PrivateExtern eh symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e1e4cf226
commit
97f7f4e43d
@ -111,6 +111,8 @@ void MCMachOStreamer::EmitEHSymAttributes(const MCSymbol *Symbol,
|
|||||||
EmitSymbolAttribute(EHSymbol, MCSA_Global);
|
EmitSymbolAttribute(EHSymbol, MCSA_Global);
|
||||||
if (SD.getFlags() & SF_WeakDefinition)
|
if (SD.getFlags() & SF_WeakDefinition)
|
||||||
EmitSymbolAttribute(EHSymbol, MCSA_WeakDefinition);
|
EmitSymbolAttribute(EHSymbol, MCSA_WeakDefinition);
|
||||||
|
if (SD.isPrivateExtern())
|
||||||
|
EmitSymbolAttribute(EHSymbol, MCSA_PrivateExtern);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MCMachOStreamer::EmitLabel(MCSymbol *Symbol) {
|
void MCMachOStreamer::EmitLabel(MCSymbol *Symbol) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user