diff options
author | Dave Lee <davelee.com@gmail.com> | 2022-01-09 22:34:47 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2022-01-09 22:40:03 -0800 |
commit | c4cdf865698eae06affbf762baf38e6ca95b4785 (patch) | |
tree | 0d9a97e63d77d21f7a0d1fd3bf480485f95d7ba9 | |
parent | 8ddc81692952c3743939c23f66b3b58db0d4edca (diff) | |
download | llvm-c4cdf865698eae06affbf762baf38e6ca95b4785.tar.gz |
[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`).
-rw-r--r-- | lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |