[all-commits] [llvm/llvm-project] 9c7fbc: [lldb] Introduce a FreeBSDKernel plugin for vmcores

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Dec 14 13:07:33 PST 2021


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

  Changed paths:
    M lldb/cmake/modules/LLDBConfig.cmake
    M lldb/include/lldb/Host/Config.h.cmake
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Plugins/Process/CMakeLists.txt
    A lldb/source/Plugins/Process/FreeBSDKernel/CMakeLists.txt
    A lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.cpp
    A lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.h
    A lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_arm64.cpp
    A lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_arm64.h
    A lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_i386.cpp
    A lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_i386.h
    A lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_x86_64.cpp
    A lldb/source/Plugins/Process/FreeBSDKernel/RegisterContextFreeBSDKernel_x86_64.h
    A lldb/source/Plugins/Process/FreeBSDKernel/ThreadFreeBSDKernel.cpp
    A lldb/source/Plugins/Process/FreeBSDKernel/ThreadFreeBSDKernel.h
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/TestFreeBSDKernelVMCore.py
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/kernel-amd64.yaml
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/kernel-arm64.yaml
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/kernel-i386.yaml
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/README.rst
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/copy-sparse.py
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/libfbsdvmcore-print-offsets.patch
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/test.script
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/vmcore-amd64-full.bz2
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/vmcore-amd64-minidump.bz2
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/vmcore-arm64-minidump.bz2
    A lldb/test/API/functionalities/postmortem/FreeBSDKernel/vmcore-i386-minidump.bz2

  Log Message:
  -----------
  [lldb] Introduce a FreeBSDKernel plugin for vmcores

Introduce a FreeBSDKernel plugin that provides the ability to read
FreeBSD kernel core dumps.  The plugin utilizes libfbsdvmcore to provide
support for both "full memory dump" and minidump formats across variety
of architectures supported by FreeBSD.  It provides the ability to read
kernel memory, as well as the crashed thread status with registers
on arm64, i386 and x86_64.

Differential Revision: https://reviews.llvm.org/D114911




More information about the All-commits mailing list