Apple's dynamic linker won't weak-def-coalesce from a Mach-O file unless it contains
at least one weak symbol. These tests contain symbols intended to override weak
symbols from the sanitizer dylib but are never considered by dyld64 because the test programs
contain no weak symbols. Marking (at least one of) the intended override symbols "weak"
fulfills the dyld64 requirement for consideration in weak-def-coalescing and so it sees the
intended override symbol in the program first and chooses it over the matching symbol in the
sanitizer dylib.
rdar://95244261
Add a comment which version this fixes an issue. It's ok that which dyld version fixes the regression is unknown. Adding a version helps future readers check whether the regression has fall outside of support windows and can therefore be removed.