This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [llgs] Include process ID in stop responses
ClosedPublic

Authored by mgorny on Jun 7 2022, 1:47 AM.

Details

Summary

Include the process identifier in the T stop responses when
multiprocess extension is enabled (i.e. prepend it to the thread
identifier). Use the exposed identifier to simplify the fork-and-follow
tests.

The LLDB client accounts for the possible PID since the multiprocess
extension support was added in b601c6719226fb83c43dae62a581e5ee08bfb169.

Sponsored by: The FreeBSD Foundation

Diff Detail

Event Timeline

mgorny created this revision.Jun 7 2022, 1:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2022, 1:47 AM
Herald added a subscriber: arichardson. · View Herald Transcript
mgorny requested review of this revision.Jun 7 2022, 1:47 AM
mgorny updated this revision to Diff 434818.Jun 7 2022, 8:07 AM

Fix formatting.

labath accepted this revision.Jun 20 2022, 12:01 AM
This revision is now accepted and ready to land.Jun 20 2022, 12:01 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 20 2022, 4:37 AM