Fixes PR50529. With this, lld-linked Chromium base_unittests passes on arm macs.
Surprisingly, no measurable impact on link time.
Paths
| Differential D104681
[lld/mac] Add explicit "no unwind info" entries for functions without unwind info ClosedPublic Authored by thakis on Jun 21 2021, 7:31 PM.
Details
Summary Fixes PR50529. With this, lld-linked Chromium base_unittests passes on arm macs. Surprisingly, no measurable impact on link time.
Diff Detail Event TimelineComment Actions Thanks!
This revision is now accepted and ready to land.Jun 21 2021, 10:31 PM Comment Actions Thanks!
Closed by commit rGd6565a2dbcbe: [lld/mac] Add explicit "no unwind info" entries for functions without unwind… (authored by thakis). · Explain WhyJun 22 2021, 3:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 353541 lld/MachO/UnwindInfoSection.cpp
lld/test/MachO/compact-unwind.s
lld/test/MachO/tools/validate-unwind-info.py
|
worth adding a comment about why we need this