mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[llvm][MachO] fix adding weak def syms
the weak defined symbol flag was missing from the call site for adding symbols which didn't cause issues because it invoked the default parameter.
This commit is contained in:
parent
6839c5908a
commit
2a4be332ff
@ -959,7 +959,8 @@ template <> struct MappingTraits<const InterfaceFile *> {
|
||||
|
||||
for (auto &sym : CurrentSection.WeakSymbols)
|
||||
File->addSymbol(SymbolKind::GlobalSymbol, sym,
|
||||
CurrentSection.Targets);
|
||||
CurrentSection.Targets, SymbolFlags::WeakDefined);
|
||||
|
||||
for (auto &sym : CurrentSection.TlvSymbols)
|
||||
File->addSymbol(SymbolKind::GlobalSymbol, sym,
|
||||
CurrentSection.Targets,
|
||||
|
Loading…
Reference in New Issue
Block a user