These opcodes tell dyld to coalesce the overridden weak dysyms to this
particular symbol definition.
Details
Details
- Reviewers
smeenai - Group Reviewers
Restricted Project - Commits
- rG2a38dba7dd4d: [lld-macho] Emit binding opcodes for defined symbols that override weak dysyms
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
lld/MachO/SymbolTable.cpp | ||
---|---|---|
85 | Doesn't this need to check isWeakDef as well? | |
lld/test/MachO/weak-header-flags.s | ||
23 | Similar comment as the last one, although this time it's not hypothetical ... this is only checking that there's no MH_BINDS_TO_WEAK after MH_WEAK_DEFINES, and won't catch an MH_BINDS_TO_WEAK that appears before the MH_WEAK_DEFINES. |
Doesn't this need to check isWeakDef as well?