Post #2979141
2026-02-19 11:28 UTC
@jdevlieghere@mastodon.social
Minidump in LLVM actually means Windows minidump that is produced after BSOD. The name is bit misleading since FreeBSD also has minidump that serves a similar purpose but has a totally different structure. llvm::file_magic::minidump_nt and minidump-nt as a plugin name would be better names.
Another issue is that FreeBSD minidump is not stable which has versioning per architecture. Currently LLDB and KGDB don’t need to care about the versioning part as it is handled under the kvm interface. Generating ELF core from minidump reduces maintenance burden on the debugger side, so it’s better to handle minidump on FreeBSD and forget about it on debugger side.
Replies (1)
-
@jdevlieghere@mastodon.social 2026-02-19 15:12
@minsoochoo@mastodon.bsd.cafe Thanks, I didn’t realize the formats were different. And if the format isn’t stable then doing the conversion and going through ELF seems like a good idea.