Explain in the release notes that the Darwin dynamic linker (dyld) requires
that at least one weak symbol be present in any mach-o file that defines an
intended override of a sanitizer dylib weak reference.
rdar://103453678
Differential D146745
[sanitizers] Explainer about dyld and weak overrides on Darwin. (NFC) rsundahl on Mar 23 2023, 10:54 AM. Authored by
Details Explain in the release notes that the Darwin dynamic linker (dyld) requires rdar://103453678
Diff Detail
Event TimelineComment Actions Thanks Roy! I put my suggestions, but none of them are blocking.
Comment Actions I have reworded with your suggestions in mind @yln. Thank you for the input. I didn't add any minimum version information since the guidance is benign going backward and good hygiene moving forward.
Comment Actions I agree with most of Julian's comments. I think we should pick a "suggested worked around" and use that as an example rather than listing all the options. Those who understand the issue will understand what workarounds need to be added, and those who do not will be provided with a single fix that works, rather than being offered multiple workarounds for something they don't understand. (When looking at the revision it looks like Julian's edits haven't been addressed cause of the "not done" tag, will you check the boxes of those items that have been completed?)
|
Here are my suggestions:
I feel that "weak overrides" is a bit ambiguous (what is weak? the overrider or the overridden?)