[all-commits] [llvm/llvm-project] f1c661: [lldb][debugserver] Save and restore the SVE/SME r...

Jason Molenda via All-commits all-commits at lists.llvm.org
Thu Apr 3 15:49:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1c6612202d88cbde224387621327a31609f2177
      https://github.com/llvm/llvm-project/commit/f1c6612202d88cbde224387621327a31609f2177
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2025-04-03 (Thu, 03 Apr 2025)

  Changed paths:
    M lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp

  Log Message:
  -----------
  [lldb][debugserver] Save and restore the SVE/SME register state (#134184)

debugserver isn't saving and restoring the SVE/SME register state around
inferior function calls.

Making arbitrary function calls while in Streaming SVE mode is generally
a poor idea because a NEON instruction can be hit and crash the
expression execution, which is how I missed this, but they should be
handled correctly if the user knows it is safe to do.

Re-landing this change after fixing an incorrect behavior on systems
without SME support.

rdar://146886210



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list