================ @@ -484,8 +484,21 @@ typedef __char32_t char32_t; # define _LIBCPP_EXCEPTIONS_SIG e # endif +# if !_LIBCPP_HAS_EXCEPTIONS +# define _LIBCPP_EXCEPTIONS_SIG n +# else +# define _LIBCPP_EXCEPTIONS_SIG e +# endif + +# if defined(__POINTER_FIELD_PROTECTION__) +# define _LIBCPP_PFP_SIG p +# else +# define _LIBCPP_PFP_SIG +# endif ---------------- pcc wrote:
Yes, the in-memory pointer format changes so it's effectively a layout (ABI) change. Therefore we need an ABI tag change to detect/prevent linking against mismatching ABIs. This was requested by @mordante in #133538. https://github.com/llvm/llvm-project/pull/151651 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
