[all-commits] [llvm/llvm-project] f6eb89: [lldb][Windows] Fixed Host::Kill() (#99721)

Dmitry Vasilyev via All-commits all-commits at lists.llvm.org
Sun Jul 21 05:00:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6eb89cdd02d73a3c9a0da858c3100986282aceb
      https://github.com/llvm/llvm-project/commit/f6eb89cdd02d73a3c9a0da858c3100986282aceb
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-07-21 (Sun, 21 Jul 2024)

  Changed paths:
    M lldb/source/Host/windows/Host.cpp
    M lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py

  Log Message:
  -----------
  [lldb][Windows] Fixed Host::Kill() (#99721)

HostProcessWindows::Terminate() correctly uses m_process which type is
process_t (HANDLE) to call ::TerminateProcess(). But Host::Kill() uses a
cast from pid, which is wrong.

This patch fixes #51793



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