================
@@ -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
----------------
labath wrote:

> I assume Pavel's talking about the memory just being bytes.

No, that's actually the best you can get (without inventing something 
completely new), even with minidumps. With core files you just get nothing 
because they don't fit yaml2obj's model of elf files. elf2yaml's main use case 
is (unlinked) object files produced by the compiler, which have only section 
headers (no program headers). OTOH, core files consist of *only* program 
headers, and the tool just doesn't handle that. These days I *think* it's 
possible to generate a somewhat realistic core file with yaml2obj, but you have 
to write the yaml by hand. obj2yaml won't generate it for you.

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

Reply via email to