[all-commits] [llvm/llvm-project] fdc163: [lldb] [Process/elf-core] Disable for FreeBSD vmcores

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Dec 6 05:55:03 PST 2021


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

  Changed paths:
    M lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp

  Log Message:
  -----------
  [lldb] [Process/elf-core] Disable for FreeBSD vmcores

Recognize FreeBSD vmcores (kernel core dumps) through OS ABI = 0xFF
+ ELF version = 0, and do not process them via the elf-core plugin.
While these files use ELF as a container format, they contain raw memory
dump rather than proper VM segments and therefore are not usable
to the elf-core plugin.

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




More information about the All-commits mailing list