File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
lldb/unittests/Instruction Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ add_lldb_unittest(EmulatorTests
22 ARM64/TestAArch64Emulator.cpp
33 LoongArch/TestLoongArchEmulator.cpp
44 RISCV/TestRISCVEmulator.cpp
5- RISCV/TestRiscvInstEmulation.cpp
6-
5+
76 LINK_COMPONENTS
87 Support
98 ${LLVM_TARGETS_TO_BUILD}
@@ -14,7 +13,23 @@ add_lldb_unittest(EmulatorTests
1413 lldbPluginInstructionARM64
1514 lldbPluginInstructionLoongArch
1615 lldbPluginInstructionRISCV
17- lldbPluginDisassemblerLLVMC
18- lldbPluginUnwindAssemblyInstEmulation
1916 lldbPluginProcessUtility
2017 )
18+
19+ if ("RISCV" IN_LIST LLVM_TARGETS_TO_BUILD)
20+ add_lldb_unittest(RISCVEmulatorTests
21+ RISCV/TestRiscvInstEmulation.cpp
22+
23+ LINK_COMPONENTS
24+ Support
25+ ${LLVM_TARGETS_TO_BUILD}
26+ LINK_LIBS
27+ lldbCore
28+ lldbSymbol
29+ lldbTarget
30+ lldbPluginInstructionRISCV
31+ lldbPluginDisassemblerLLVMC
32+ lldbPluginUnwindAssemblyInstEmulation
33+ lldbPluginProcessUtility
34+ )
35+ endif ()
You can’t perform that action at this time.
0 commit comments