[lld/mac] Don't crash on 32-bit output binaries when dead-stripping
authorNico Weber <thakis@chromium.org>
Sun, 4 Jul 2021 01:57:43 +0000 (21:57 -0400)
committerNico Weber <thakis@chromium.org>
Sun, 4 Jul 2021 22:03:31 +0000 (18:03 -0400)
commitd2d6da301100e91901efe1ba4f4c9d006c188bee
treef3f6b126c0b2af8e2b6d8d427453af8973a16cd9
parent7cdd768ac93c6daae709d7a9b9f309716392211e
[lld/mac] Don't crash on 32-bit output binaries when dead-stripping

Fixes PR50974.

Differential Revision: https://reviews.llvm.org/D105399
lld/MachO/UnwindInfoSection.cpp
lld/test/MachO/compact-unwind.s