[all-commits] [llvm/llvm-project] 8f7472: [lldb] Adds additional fields to ProcessInfo (#91544)

Fred Grim via All-commits all-commits at lists.llvm.org
Fri Jun 14 18:30:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f74725731bf431fb97929e1dd962e9a0db20865
      https://github.com/llvm/llvm-project/commit/8f74725731bf431fb97929e1dd962e9a0db20865
  Author: Fred Grim <fgrim at apple.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lldb/include/lldb/Utility/ProcessInfo.h
    M lldb/source/Host/linux/Host.cpp
    M lldb/source/Utility/ProcessInfo.cpp
    M lldb/unittests/Host/linux/HostTest.cpp

  Log Message:
  -----------
  [lldb] Adds additional fields to ProcessInfo (#91544)

To implement SaveCore for elf binaries we need to populate some
additional fields in the prpsinfo struct. Those fields are the nice
value of the process whose core is to be taken as well as a boolean flag
indicating whether or not that process is a zombie. This commit adds
those as well as tests to ensure that the values are consistent with
expectations



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list