Displaying 1 result from an estimated 1 matches for "__objc_msgrefs".
2010 Jun 30
2
[LLVMdev] RFC: New Linkage Type linker_private_weak
...to the linkage unit and doesn't appear in the final linked image. Unlike the linker_private linkage, it has a "weak" definition. For example:
.private_extern l_objc_msgSend_fixup_alloc
.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1
Whereas something with "linker_private" linkage has a strong definition, but unlike a normal strong definition is removed by the linker:
.align 3
l_OBJC_METACLASS_RO_$_A:
.long 3...