This is an archive of the discontinued LLVM Phabricator instance.

Fixed remote failures in TestCPP11EnumTypes, probably others
ClosedPublic

Authored by vharron on Apr 14 2015, 3:05 PM.

Details

Summary

Typically, LLGS only sends stdout/stderr notifications when the inferior
process is running.

Because LLGS reads stdout from the process in a separate thread, sometimes
these stdout notifications can be received after the server has sent a thread
stop message. The host isn't expecting stdout to be generated by the target
after a stop message and these messages interfere with the host's request/
response paradigm.

Diff Detail

Repository
rL LLVM

Event Timeline

vharron updated this revision to Diff 23746.Apr 14 2015, 3:05 PM
vharron retitled this revision from to Fixed remote failures in TestCPP11EnumTypes, probably others.
vharron updated this object.
vharron edited the test plan for this revision. (Show Details)
vharron added reviewers: clayborg, tberghammer.
vharron added a subscriber: Unknown Object (MLST).
clayborg accepted this revision.Apr 14 2015, 3:07 PM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Apr 14 2015, 3:07 PM
tberghammer accepted this revision.Apr 15 2015, 2:08 AM
tberghammer edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.
labath edited edge metadata.Apr 15 2015, 4:13 AM

lgtm, nice catch