[Lldb-commits] [lldb] [LLDB] Add FreeBSD kernel coredump matching check. (PR #80785)

Minsoo Choo via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 24 06:08:08 PDT 2026


mchoo7 wrote:

> > ProcessFreeBSDKernelElfCore will handle fulldump and minidump in elf core format converted with md2elf utility. ProcessFreeBSDKernelKvmCore will handle original minidump and /dev/mem.
> 
> Remind me why you need to convert minidump into ELF. I recall that the minidump from FreeBSD isn't the same as https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/getting_started_with_breakpad.md, right? Is that the reason?
> 
> Just seems odd to write a conversion utility but then make LLDB support all 3 formats/data sources anyway.

Minidump is full dump minus physical pages unused. So if a machine was using 4GB out of 16GB at the time running, minidump will be ~4GB while full dump will be ~16GB.

I don't think users will need to manually trigger the conversion utility if this can be handled by savecore(8).

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


More information about the lldb-commits mailing list