This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Target] Fix event handling during process launch
ClosedPublic

Authored by mib on Jul 9 2021, 6:13 AM.

Details

Reviewers
jingham
Summary

This patch fixes process event handling when the events are broadcasted
at launch. To do so, the patch introduces a new listener to ensure the
event ordering.

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Diff Detail

Event Timeline

mib requested review of this revision.Jul 9 2021, 6:13 AM
mib created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2021, 6:13 AM
jingham accepted this revision.Jul 9 2021, 3:05 PM

This LGTM. This code is fetching events by hand off the event queue and then resending them, so it makes sense that it should stop the ones it is handling from leaking out to the Process listener.

This revision is now accepted and ready to land.Jul 9 2021, 3:05 PM