[all-commits] [llvm/llvm-project] fea52a: [lldb/test] Use SIGINT as the "stopping" signal

Pavel Labath via All-commits all-commits at lists.llvm.org
Sun Jul 10 23:42:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fea52ac541f5973d01a6813475bca08ebe1f1e9b
      https://github.com/llvm/llvm-project/commit/fea52ac541f5973d01a6813475bca08ebe1f1e9b
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M lldb/test/API/tools/lldb-server/main.cpp

  Log Message:
  -----------
  [lldb/test] Use SIGINT as the "stopping" signal

Using SIGSTOP means that if anything goes wrong in the test, the process
can end up in the stopped state, where it is not running, but still
taking up resources. Eventually, these "zombies" can make the machine
completely unusable. Instead, use a signal whose default action is to
kill the processes.




More information about the All-commits mailing list