[lldb] [Process/FreeBSDKernel] Introduce libkvm support
authorMichał Górny <mgorny@moritz.systems>
Sat, 18 Dec 2021 09:09:12 +0000 (10:09 +0100)
committerMichał Górny <mgorny@moritz.systems>
Wed, 22 Dec 2021 15:14:03 +0000 (16:14 +0100)
commitfb785877a95d5d51e802df618b22187b624a2b23
tree540685fef60f4d4663e58c81df5549be24530abe
parent5eb271880c8fc59835797806ac44f736eaf3ddbd
[lldb] [Process/FreeBSDKernel] Introduce libkvm support

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

Differential Revision: https://reviews.llvm.org/D116005
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 [new file with mode: 0644]