This is an archive of the discontinued LLVM Phabricator instance.

[LLGS] Log more precise errors during inferior launch
ClosedPublic

Authored by labath on Jul 6 2016, 3:53 AM.

Details

Summary

We are seeing infrequent failures to launch the inferior process on android. The failing call
seems to be execve(). This adds more logging to see the actual error reported by the call.

Diff Detail

Repository
rL LLVM

Event Timeline

labath updated this revision to Diff 62841.Jul 6 2016, 3:53 AM
labath retitled this revision from to [LLGS] Log more precise errors during inferior launch.
labath updated this object.
labath added a reviewer: tberghammer.
labath added a subscriber: lldb-commits.
labath updated this revision to Diff 62842.Jul 6 2016, 3:55 AM

run clang-format over the patch

tberghammer accepted this revision.Jul 6 2016, 5:28 AM
tberghammer edited edge metadata.

Looks good. You might want to print the errno a bit better but I am fine with the current implementation as well.

This revision is now accepted and ready to land.Jul 6 2016, 5:28 AM
This revision was automatically updated to reflect the committed changes.