[libcxx-commits] [PATCH] D112432: [ARM][libcxxabi] Add PACBTI-M support to libcxxabi

Ties Stuij via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 8 01:10:06 PST 2021


stuij updated this revision to Diff 392676.
stuij added a comment.

rebased as per review request


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112432/new/

https://reviews.llvm.org/D112432

Files:
  libcxxabi/src/cxa_exception.cpp


Index: libcxxabi/src/cxa_exception.cpp
===================================================================
--- libcxxabi/src/cxa_exception.cpp
+++ libcxxabi/src/cxa_exception.cpp
@@ -378,6 +378,9 @@
     "	.globl	__cxa_end_cleanup\n"
     "	.type	__cxa_end_cleanup,%function\n"
     "__cxa_end_cleanup:\n"
+#if defined(__ARM_FEATURE_BTI_DEFAULT)
+    "	bti\n"
+#endif
     "	push	{r1, r2, r3, lr}\n"
     "	bl	__cxa_end_cleanup_impl\n"
     "	pop	{r1, r2, r3, r4}\n"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112432.392676.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211208/2f3dddb0/attachment.bin>


More information about the libcxx-commits mailing list