[Lldb-commits] [PATCH] D117928: [lldb] Disable tests for x86 that uses write command on XMM registers

Luís Ferreira via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 21 14:14:14 PST 2022


ljmf00 created this revision.
ljmf00 added a project: LLDB.
Herald added subscribers: JDevlieghere, pengfei.
ljmf00 requested review of this revision.
Herald added a subscriber: lldb-commits.

This patch disables the following tests on non-AVX machines:

- `lldb-shell :: Register/x86-64-write.test`
- `lldb-shell :: Register/x86-mm-xmm-write.test`

This is due to a bug on GDB that prevents writing some XMM registers on
those machines https://sourceware.org/bugzilla/show_bug.cgi?id=28803 .


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117928

Files:
  lldb/test/Shell/Register/x86-64-write.test
  lldb/test/Shell/Register/x86-mm-xmm-write.test


Index: lldb/test/Shell/Register/x86-mm-xmm-write.test
===================================================================
--- lldb/test/Shell/Register/x86-mm-xmm-write.test
+++ lldb/test/Shell/Register/x86-mm-xmm-write.test
@@ -1,5 +1,9 @@
 # XFAIL: system-darwin
 # XFAIL: system-windows
+
+# Bug on GDB https://sourceware.org/bugzilla/show_bug.cgi?id=28803
+# XFAIL: !native-cpu-avx
+
 # REQUIRES: native && (target-x86 || target-x86_64) && native-cpu-sse
 # RUN: %clangxx_host %p/Inputs/x86-mm-xmm-write.cpp -o %t
 # RUN: %lldb -b -s %s %t | FileCheck %s
Index: lldb/test/Shell/Register/x86-64-write.test
===================================================================
--- lldb/test/Shell/Register/x86-64-write.test
+++ lldb/test/Shell/Register/x86-64-write.test
@@ -1,5 +1,9 @@
 # XFAIL: system-darwin
 # XFAIL: system-windows
+
+# Bug on GDB https://sourceware.org/bugzilla/show_bug.cgi?id=28803
+# XFAIL: !native-cpu-avx
+
 # REQUIRES: native && target-x86_64
 # RUN: %clangxx_host %p/Inputs/x86-64-write.cpp -o %t
 # RUN: %lldb -b -s %s %t | FileCheck %s


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117928.402106.patch
Type: text/x-patch
Size: 1066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220121/b310e8e0/attachment.bin>


More information about the lldb-commits mailing list