teak-llvm/lldb/unittests/Disassembler/CMakeLists.txt
Jason Molenda a583486065 When disassembling Aarch64 target and vendor Apple, set the cpu to
"apple-latest" which llvm uses to indicate the newest supported ISA.
Add a unit test; I'm only testing an armv8.1 instruction in this
unit test which would already be disassembled correctly because we
set the disassembler to ARM v8.2 mode, but it ensures that nothing
has been broken by adding this cpu spec.

<rdar://problem/38714781> 

llvm-svn: 355578
2019-03-07 03:16:45 +00:00

15 lines
337 B
CMake

if("ARM" IN_LIST LLVM_TARGETS_TO_BUILD)
add_lldb_unittest(DisassemblerTests
TestArm64Disassembly.cpp
TestArmv7Disassembly.cpp
LINK_LIBS
lldbCore
lldbSymbol
lldbTarget
lldbPluginDisassemblerLLVM
lldbPluginProcessUtility
LINK_COMPONENTS
Support
${LLVM_TARGETS_TO_BUILD})
endif()