mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 22:17:23 +08:00
[Disassembler] Run ARM-specific tests only if the ARM backend is built.
<rdar://problem/44239070> llvm-svn: 341714
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
add_lldb_unittest(DisassemblerTests
|
||||
TestArmv7Disassembly.cpp
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginDisassemblerLLVM
|
||||
lldbPluginProcessUtility
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
${LLVM_TARGETS_TO_BUILD})
|
||||
if("ARM" IN_LIST LLVM_TARGETS_TO_BUILD)
|
||||
add_lldb_unittest(DisassemblerTests
|
||||
TestArmv7Disassembly.cpp
|
||||
LINK_LIBS
|
||||
lldbCore
|
||||
lldbSymbol
|
||||
lldbTarget
|
||||
lldbPluginDisassemblerLLVM
|
||||
lldbPluginProcessUtility
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
${LLVM_TARGETS_TO_BUILD})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user