Hello, Thank you for reviewing v2! v3 contains minor changes.
Changes in v3: - Reduce the patch series to one patch after merging: [PATCH v2 1/2] Rename SEH functions for reuse in AArch64 - Fix a typo. - Update a comment. Changes in v2 2026-06-25: - The patch series is supported by changes in binutils. [PATCH v9 0/1] Implement Structured Exception Handling (SEH) on AArch64 https://sourceware.org/pipermail/binutils/2026-June/149662.html - Reduce the patch series to 2 patches, as the other patches are no longer needed. - Use SET_OPTION_IF_UNSET for flag_unwind_tables. - Add comments to describe new functions. - Add sorry() diagnostic for SVE offsets. - Support unwinding for nonconsecutive registers. - Exclude PRE_DEC. - Check RTX_FRAME_RELATED_P. - Disable shrink-wrapping. - Support fragmented functions. - Fix unwinding code for a floating-point register pair. - Fix unwinding codes when stack probing is applied. - Support UNSPEC_STP. https://gcc.gnu.org/pipermail/gcc-patches/2026-June/721678.html v1 2024-11-15: This patch series adds SEH, stack unwinding and C++ exceptions implementation to the aarch64-w64-mingw32 target. The patch series is based on "[PATCH v3 0/8] SMALL code model fixes, optimization fixes, LTO, and minimal C++ enablement" patch series, which should be merged next week. https://gcc.gnu.org/pipermail/gcc-patches/2024-November/669003.html Regards, Evgeny Evgeny Karpov (1): aarch64: Add SEH, stack unwinding and C++ exceptions. gcc/common/config/aarch64/aarch64-common.cc | 23 ++ gcc/config/aarch64/aarch64-abi-ms-protos.h | 2 + gcc/config/aarch64/aarch64-abi-ms.cc | 310 ++++++++++++++++++++ gcc/config/aarch64/aarch64-abi-ms.h | 4 + gcc/config/aarch64/aarch64.cc | 17 +- gcc/config/aarch64/cygming.h | 40 ++- libgcc/unwind-seh.c | 41 ++- libstdc++-v3/libsupc++/eh_personality.cc | 16 + 8 files changed, 439 insertions(+), 14 deletions(-)
