[all-commits] [llvm/llvm-project] fb7858: [lldb] [Process/FreeBSDKernel] Introduce libkvm su...

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Dec 22 07:16:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb785877a95d5d51e802df618b22187b624a2b23
      https://github.com/llvm/llvm-project/commit/fb785877a95d5d51e802df618b22187b624a2b23
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSDKernel/CMakeLists.txt
    M lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.cpp
    M lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.h
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelLive.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list