[lldb] Make TestAArch64AdrpAdd depend on the AArch64 target
authorRaphael Isemann <teemperor@gmail.com>
Tue, 17 Aug 2021 10:46:44 +0000 (12:46 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 17 Aug 2021 11:47:22 +0000 (13:47 +0200)
commitfc5495c351a1f7ce28c7166a70113ce45906ff7b
treebe6ccbb3f3aaf8de1bceb9e71a8b6c6eb7f64c8f
parent9cfa9b44a589438d3c6920881c5619c76479dbaa
[lldb] Make TestAArch64AdrpAdd depend on the AArch64 target

LLDB is using LLVM's target-specific disassembler which is only available when
the respective LLVM target has been enabled in the build config.

This patch just skips the test if there is no arm64 target (and its
disassembler) available in the current build config.

Reviewed By: jasonmolenda

Differential Revision: https://reviews.llvm.org/D108145
lldb/test/API/functionalities/disassemble/aarch64-adrp-add/TestAArch64AdrpAdd.py