[Lldb-commits] [lldb] [llvm] [lldb][AArch64][Linux] Handle SME only and kernels < 6.19 (PR #189982)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 2 02:07:49 PDT 2026
================
@@ -525,6 +525,16 @@ def test_expr_restore(self):
# Then all combinations of different states.
expr_tests.extend(list(permutations(states, 2)))
+ platform = self.dbg.GetSelectedPlatform()
+ # The feature we use to get from streaming mode back to non-streaming
+ # mode was added in 6.19. Without it we simply cannot restore FP state.
+ # So remove any test going that restores to non-streaming mode
+ # from streaming mode.
+ if not (
+ platform.GetOSMajorVersion() >= 6 and platform.GetOSMinorVersion() >= 19
----------------
DavidSpickett wrote:
Thanks! I was in fact struggling with how to write that. Also did not recall the tuple trick.
https://github.com/llvm/llvm-project/pull/189982
More information about the lldb-commits
mailing list