[Lldb-commits] [lldb] [lldb-dap] In DAP unit tests, add helpers for loading a CoreFile. (PR #140738)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Wed May 21 17:47:53 PDT 2025


================
@@ -10,8 +10,16 @@ add_lldb_unittest(DAPTests
   VariablesTest.cpp
 
   LINK_LIBS
+    liblldb
     lldbDAP
+    lldbUtilityHelpers
     LLVMTestingSupport
   LINK_COMPONENTS
     Support
   )
+
+set(test_inputs
+  linux-x86_64.out
+  linux-x86_64.core
----------------
ashgti wrote:

I used minidump to make the linux-x86_64.core.yaml file (it starts with `--- !minidump`).  I just needed to load the exiting target + core and use `(lldb) process save-core --plugin-name=minidump <path>` to get the file.

https://github.com/llvm/llvm-project/pull/140738


More information about the lldb-commits mailing list