This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [test] Synchronize before the breakpoint in fork tests
ClosedPublic

Authored by mgorny on Sep 10 2021, 3:53 AM.

Details

Summary

We set breakpoint on child_func, so synchronization inside it is too
late to guarantee ordering between the parent output and child
breakpoint. Split the function in two, and perform synchronization
before the breakpoint.

Diff Detail

Event Timeline

mgorny requested review of this revision.Sep 10 2021, 3:53 AM
mgorny created this revision.
labath accepted this revision.Sep 10 2021, 4:01 AM
This revision is now accepted and ready to land.Sep 10 2021, 4:01 AM
This revision was landed with ongoing or failed builds.Sep 10 2021, 4:06 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 10 2021, 4:06 AM