Revert "[libcxxabi][ARM] Make CXX_end_cleanup compatible with Armv6-M"
authorVladimir Vereschaka <vvereschaka@accesssoftek.com>
Sat, 6 Nov 2021 03:58:21 +0000 (20:58 -0700)
committerVladimir Vereschaka <vvereschaka@accesssoftek.com>
Sat, 6 Nov 2021 04:01:03 +0000 (21:01 -0700)
This reverts commit 3255578ee1dbb5561025ac89cd33ba08e8f26efb.

Failed buildbot's Armv7 builds:
https://lab.llvm.org/buildbot/#/builders/60/builds/5303

libcxxabi/src/cxa_exception.cpp

index c8779a0..7044cb9 100644 (file)
@@ -382,8 +382,7 @@ asm("       .pushsection    .text.__cxa_end_cleanup,\"ax\",%progbits\n"
     "  bl      __cxa_end_cleanup_impl\n"
     "  pop     {r1, r2, r3, r4}\n"
     "  mov     lr, r4\n"
-    "  ldr r4, =_Unwind_Resume\n"
-    "  bx      r4\n"
+    "  b       _Unwind_Resume\n"
     "  .popsection");
 #endif // defined(_LIBCXXABI_ARM_EHABI)