[Lldb-commits] [PATCH] D116005: [lldb] [Process/FreeBSDKernel] Introduce libkvm support

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Dec 19 10:21:18 PST 2021


mgorny created this revision.
mgorny added reviewers: labath, emaste, krytarowski.
Herald added a subscriber: arichardson.
mgorny requested review of this revision.

Introduce initial support for using libkvm on FreeBSD.  The library
can be used as an alternate implementation for processing kernel
coredumps but it can also be used to access live kernel memory through
specifying "/dev/mem" as the core file, i.e.:

  lldb --core /dev/mem /boot/kernel/kernel


https://reviews.llvm.org/D116005

Files:
  lldb/source/Plugins/Process/FreeBSDKernel/CMakeLists.txt
  lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.cpp
  lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.h
  lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116005.395344.patch
Type: text/x-patch
Size: 7749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211219/9e612545/attachment.bin>


More information about the lldb-commits mailing list