Reland "[libcxxabi][ARM] Make CXX_end_cleanup compatible with Armv6-M"
authorDaniel Kiss <daniel.kiss@arm.com>
Thu, 4 Nov 2021 15:29:12 +0000 (16:29 +0100)
committerDaniel Kiss <daniel.kiss@arm.com>
Tue, 9 Nov 2021 11:53:53 +0000 (12:53 +0100)
commitc5c4bac6c03da467a048ed922a14b76c7e053637
treebe5646c7f8d3c5e5854137429a0323f0b894b725
parent58c01ef270dfb9de569133213fd6b6a7bcf8ded3
Reland "[libcxxabi][ARM] Make CXX_end_cleanup compatible with Armv6-M"

On Armv6-M the branch may not able to reach the _Unwind_Resume function because it's relocation(R_ARM_THM_JUMP11) is in -2048, 2047 range only.

Reviewed By: chill, stuij, lenary

Differential Revision: https://reviews.llvm.org/D113181
libcxxabi/src/cxa_exception.cpp