[Lldb-commits] [lldb] c4cdf86 - [lldb] Skip TestTargetXMLArch if no support for x86 target

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 9 22:40:10 PST 2022


Author: Dave Lee
Date: 2022-01-09T22:40:03-08:00
New Revision: c4cdf865698eae06affbf762baf38e6ca95b4785

URL: https://github.com/llvm/llvm-project/commit/c4cdf865698eae06affbf762baf38e6ca95b4785
DIFF: https://github.com/llvm/llvm-project/commit/c4cdf865698eae06affbf762baf38e6ca95b4785.diff

LOG: [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`).

Added: 
    

Modified: 
    lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py b/lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py
index 73016e3bfc01a..f7885459ad450 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 @@ def test(self):
 
     @skipIfXmlSupportMissing
     @skipIfRemote
+    @skipIfLLVMTargetMissing("X86")
     def test_register_augmentation(self):
         """
         Test that we correctly associate the register info with the eh_frame


        


More information about the lldb-commits mailing list