This is an archive of the discontinued LLVM Phabricator instance.

Add a generic Process method to dump plugin history
ClosedPublic

Authored by jingham on Jul 11 2023, 11:02 AM.

Details

Summary

I need to dump the gdb-remote communication history when we fail the "stepping or not" assertion Jason added to StopInfoMachException a week or so ago. But that's a feature of GDBRemoteCommunication, or at best ProcessGDBRemote, and it really doesn't make sense to include that in StopInfoMachException.

However the notion of "dumping the low level plugin history for a process" seems like a generally useful one. So I made a Process API for this, and then routed the other uses through that, and added dumping this when the assert is triggered.

Diff Detail

Event Timeline

jingham created this revision.Jul 11 2023, 11:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 11:02 AM
jingham requested review of this revision.Jul 11 2023, 11:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 11:02 AM
jasonmolenda accepted this revision.Jul 11 2023, 11:41 AM

Ah excellent, thanks for adding this.

This revision is now accepted and ready to land.Jul 11 2023, 11:41 AM
This revision was automatically updated to reflect the committed changes.