Skip to content

Commit c4cdf86

Browse files
committed
[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`).
1 parent 8ddc816 commit c4cdf86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def test(self):
130130

131131
@skipIfXmlSupportMissing
132132
@skipIfRemote
133+
@skipIfLLVMTargetMissing("X86")
133134
def test_register_augmentation(self):
134135
"""
135136
Test that we correctly associate the register info with the eh_frame

0 commit comments

Comments
 (0)