This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Process/Windows] Attempt to kill exited/detached process in not error
ClosedPublic

Authored by tatyana-krasnukha on Jul 30 2020, 10:56 AM.

Details

Summary

Don't report an error, just log this happened.
This fixes a lot of "CLEANUP ERROR"s for the test-suite on Windows and makes ProcessWindows consistent with the other processes.

Diff Detail

Event Timeline

tatyana-krasnukha requested review of this revision.Jul 30 2020, 10:56 AM
tatyana-krasnukha retitled this revision from [lldb/Process/Windows] Trying to kill exited/detached process in not error to [lldb/Process/Windows] Attempt to kill exited/detached process in not error.Jul 30 2020, 11:00 AM
asmith accepted this revision.Jul 31 2020, 2:12 PM

LGTM.

Some changes for grammar to the title -- "[lldb/Process/Windows] Attempting to kill an exited/detached process is not an error"

A little more description would be helpful for others. Here's a suggestion --

"The lldb test-suite on Windows reports a 'CLEANUP ERROR' when attempting to kill an exited/detached process. This change makes ProcessWindows consistent with the other processes which only log the error. After this change a large number of 'CLEANUP ERROR' messages are now removed."

This revision is now accepted and ready to land.Jul 31 2020, 2:12 PM

Thank you! I fixed the commit title and description as you suggested.

This revision was landed with ongoing or failed builds.Aug 3 2020, 2:53 AM
This revision was automatically updated to reflect the committed changes.