This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [Process/FreeBSDRemote] Initial multithreading support
ClosedPublic

Authored by mgorny on Oct 14 2020, 10:58 AM.

Details

Summary

Implement initial support for watching thread creation and termination.
Update ptrace() calls to correctly indicate requested thread.
Watchpoints are not supported yet.

This patch fixes at least multithreaded register tests.

Diff Detail

Event Timeline

mgorny requested review of this revision.Oct 14 2020, 10:58 AM
mgorny created this revision.
mgorny updated this revision to Diff 298226.Oct 14 2020, 12:52 PM

Forgot to run clang-format.

Seems pretty straight forward.

krytarowski accepted this revision.Oct 15 2020, 4:57 AM
This revision is now accepted and ready to land.Oct 15 2020, 4:57 AM

Looks fine to me

emaste accepted this revision.Oct 15 2020, 6:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 15 2020, 8:37 AM