[all-commits] [llvm/llvm-project] 47d80e: [LLDB/Coredump] Only take the Pthread from stack s...

Jacob Lalonde via All-commits all-commits at lists.llvm.org
Thu May 16 14:17:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47d80ec1802d70082c8fd32b4396c98db2c4dba2
      https://github.com/llvm/llvm-project/commit/47d80ec1802d70082c8fd32b4396c98db2c4dba2
  Author: Jacob Lalonde <jjjlalonde at gmail.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
    M lldb/source/Target/Process.cpp
    M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py

  Log Message:
  -----------
  [LLDB/Coredump] Only take the Pthread from stack start to the stackpointer + red_zone (#92002)

Currently in Core dumps, the entire pthread is copied, including the
unused space beyond the stack pointer. This causes large amounts of core
dump inflation when the number of threads is high, but the stack usage
is low. Such as when an application is using a thread pool.

This change will optimize for these situations in addition to generally
improving the core dump performance for all of lldb.



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