================
@@ -1971,6 +1975,32 @@ Registers_arm64::operator=(const Registers_arm64 &other)
{
return *this;
}
+void Registers_arm64::jumpto() {
+#if !defined(__APPLE__)
+ // The platform must ensure that all the following conditions are true on
+ // entry to EH:
+ //
+ // - PSTATE.SM is 0.
+ // - PSTATE.ZA is 0.
+ // - TPIDR2_EL0 is null.
+ //
+ // The first point is ensured by routines for throwing exceptions having a
+ // non-streaming interface. TPIDR2_EL0 is set to null and ZA disabled by
+ // calling __arm_za_disable.
+ //
+ // See:
+ //
https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#exceptions
----------------
ojhunt wrote:
I believe we should link to something more stable like their tag versions, say
https://github.com/ARM-software/abi-aa/blob/2025Q1/aapcs64/aapcs64.rst#exceptions
https://github.com/llvm/llvm-project/pull/160905
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits