Fixes #52778.
Probably fixes Chromium crashing on startup on macOS 10.15 (and older) systems
when building with LTO, but I haven't verified that yet.
| Paths 
 |  Differential  D115949  
[lld/mac] Don't lose "weak ref" bit when doing LTO ClosedPublic Authored by thakis on Dec 17 2021, 9:36 AM. 
Details 
 Summary Fixes #52778. Probably fixes Chromium crashing on startup on macOS 10.15 (and older) systems 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Dec 17 2021, 12:20 PM Closed by commit rGc4b45eeb44fd: [lld/mac] Don't lose "weak ref" bit when doing LTO (authored by thakis).  ·  Explain WhyDec 17 2021, 12:26 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 395198 lld/MachO/InputFiles.cpp
 lld/test/MachO/lto-weak-ref.ll
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||