[clang] [llvm] [AArch64][SME] Save VG for unwind info when changing streaming-mode (PR #83301)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 09:35:41 PDT 2024
================
@@ -3768,6 +3768,12 @@ def err_conflicting_attributes_arm_state : Error<
"conflicting attributes for state '%0'">;
def err_sme_streaming_cannot_be_multiversioned : Error<
"streaming function cannot be multi-versioned">;
+def err_sme_streaming_mode_change_no_sve : Error<
+ "function requires a streaming-mode change, unwinding is not possible without 'sve'. "
+ "Consider marking this function as 'noexcept' or '__attribute__((nothrow))'">;
----------------
efriedma-quic wrote:
If we call new functions, they need to be part of the ABI. If you're happy to work with your ABI people to document the new interface, I guess it's not a problem.
https://github.com/llvm/llvm-project/pull/83301
More information about the llvm-commits
mailing list