[all-commits] [llvm/llvm-project] 58def6: [debugserver] Clear memory allocations after exec

Alex via All-commits all-commits at lists.llvm.org
Wed Jan 11 13:44:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58def623ca46f107d185d7f02b267ffa751aff97
      https://github.com/llvm/llvm-project/commit/58def623ca46f107d185d7f02b267ffa751aff97
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M lldb/tools/debugserver/source/MacOSX/MachProcess.mm
    M lldb/tools/debugserver/source/MacOSX/MachTask.h
    M lldb/tools/debugserver/source/MacOSX/MachTask.mm

  Log Message:
  -----------
  [debugserver] Clear memory allocations after exec

After an exec, the inferior is a new process and none of these memory
regions are still allocated. Clear them out.

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




More information about the All-commits mailing list