From c4cdf865698eae06affbf762baf38e6ca95b4785 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Sun, 9 Jan 2022 22:34:47 -0800 Subject: [lldb] Skip TestTargetXMLArch if no support for x86 target If LLVM is configured without X86 as one of its TARGETS_TO_BUILD, then lldb will crash when using X86 disassembler (which it does while running `image show-unwind`). --- lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py b/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py index 73016e3bfc01..f7885459ad45 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py @@ -130,6 +130,7 @@ class TestTargetXMLArch(GDBRemoteTestBase): @skipIfXmlSupportMissing @skipIfRemote + @skipIfLLVMTargetMissing("X86") def test_register_augmentation(self): """ Test that we correctly associate the register info with the eh_frame -- cgit v1.2.1