[libunwind] [libunwind] Call `__arm_za_disable` before entering EH (PR #160905)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 30 04:29:24 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,hpp -- libunwind/test/aarch64_za_unwind.pass.cpp libunwind/src/Registers.hpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libunwind/src/Registers.hpp b/libunwind/src/Registers.hpp
index 332e07368..d266a22b5 100644
--- a/libunwind/src/Registers.hpp
+++ b/libunwind/src/Registers.hpp
@@ -1860,7 +1860,7 @@ public:
   bool        validVectorRegister(int num) const;
   v128        getVectorRegister(int num) const;
   void        setVectorRegister(int num, v128 value);
-  void        jumpto();
+  void jumpto();
   static const char *getRegisterName(int num);
   static constexpr int lastDwarfRegNum() {
     return _LIBUNWIND_HIGHEST_DWARF_REGISTER_ARM64;

``````````

</details>


https://github.com/llvm/llvm-project/pull/160905


More information about the cfe-commits mailing list