[Lldb-commits] [PATCH] D114967: [lldb] [Process/elf-core] Disable for FreeBSD vmcores

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 3 21:21:50 PST 2021


mgorny added inline comments.


================
Comment at: lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp:67
       if (elf_header.Parse(data, &data_offset)) {
+        // Check whether we're dealing with a FreeBSD vmcore that needs
+        // to be handled via FreeBSDKernel plugin instead.
----------------
emaste wrote:
> Maybe "FreeBSD full ELF vmcore" or such? We may have three different FreeBSD vmcore formats to deal with
> 1. kernel-generated ELF dumps (`sysctl debug.minidump=0`)
> 2. kernel-generated minidumps (`sysctl debug.minidump=1`)
> 3. minidump post-processed by (a fixed version of) https://reviews.freebsd.org/D19253
Good idea. I've changed it to use "full memory dump" to follow the Handbook, and added "raw" to make it clearer we're not talking of the converted version.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114967/new/

https://reviews.llvm.org/D114967



More information about the lldb-commits mailing list