================
@@ -2,14 +2,34 @@ add_lldb_unittest(EmulatorTests
   ARM64/TestAArch64Emulator.cpp
   LoongArch/TestLoongArchEmulator.cpp
   RISCV/TestRISCVEmulator.cpp
-
+  
   LINK_COMPONENTS
     Support
+    ${LLVM_TARGETS_TO_BUILD}
   LINK_LIBS
     lldbCore
     lldbSymbol
     lldbTarget
     lldbPluginInstructionARM64
     lldbPluginInstructionLoongArch
     lldbPluginInstructionRISCV
+    lldbPluginProcessUtility
   )
+
+if ("RISCV" IN_LIST LLVM_TARGETS_TO_BUILD)
----------------
dmpots wrote:

Please add a comment here describing why this is split into a separate unit 
test. Would be good to call out that we leave the other RISCV test in the 
generic unit test because it does not require the backend to be built.

https://github.com/llvm/llvm-project/pull/159842
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to