Page MenuHomePhabricator

[lldb, lldm-mi] Fix hanging of -exec-run command.
ClosedPublic

Authored by polyakov.alex on Jun 2 2018, 1:07 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

polyakov.alex created this revision.Jun 2 2018, 1:07 PM
polyakov.alex added a comment.EditedJun 2 2018, 2:35 PM

These changes fix the hanging of the lldb-mi lit tests. For example:
-file-exec-and-symbols a.out
-exec-run
commands in test may cause a hanging if a.out is invalid name of binary.

A bit of refactoring.

Nice. It should be easy to also create a test for this that just specifies an invalid filename and verifies that lldb-mi returns a failure?

Added the test.

aprantl accepted this revision.Jun 3 2018, 7:41 AM

thanks.

This revision is now accepted and ready to land.Jun 3 2018, 7:41 AM
This revision was automatically updated to reflect the committed changes.