[all-commits] [llvm/llvm-project] 8d8f8b: [lldb/Test] Don't leak forked processes on Darwin

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri May 29 13:58:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d8f8b353175b50dfdb1e2d5f3c0ada0a4ad25ed
      https://github.com/llvm/llvm-project/commit/8d8f8b353175b50dfdb1e2d5f3c0ada0a4ad25ed
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py

  Log Message:
  -----------
  [lldb/Test] Don't leak forked processes on Darwin

We are leaking forked processes on macOS because the cleanup function
was checking the existence of /proc/pid which does not exist on macOS.
I've changed the code to be platform agnostic.




More information about the All-commits mailing list