[lld/mac] Don't assert on -dead_strip + arm64 range extension thunks
authorNico Weber <thakis@chromium.org>
Fri, 27 Aug 2021 23:20:29 +0000 (19:20 -0400)
committerNico Weber <thakis@chromium.org>
Sat, 28 Aug 2021 03:27:45 +0000 (23:27 -0400)
commit28be02f33493f924d92b74b374e4d0bd6d1aaa63
tree47b5811cd8037d5a99aa92a82ff0cfc6a82bb34a
parenta4a5c00b53d0638e2bd9011fa5cce7ef9739eea6
[lld/mac] Don't assert on -dead_strip + arm64 range extension thunks

The assert is harmless and thinks worked fine in builds with asserts enabled,
but it's still nice to fix the assert.

Differential Revision: https://reviews.llvm.org/D108853
lld/MachO/ConcatOutputSection.cpp
lld/test/MachO/arm64-thunks.s