This is an archive of the discontinued LLVM Phabricator instance.

[NFC][LSAN] Change SuspendedThreadsList interface
ClosedPublic

Authored by vitalybuka on Sep 16 2020, 1:16 AM.

Details

Summary

Remove RegisterCount and let GetRegistersAndSP to resize buffer as needed.

Diff Detail

Event Timeline

vitalybuka created this revision.Sep 16 2020, 1:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 16 2020, 1:16 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka requested review of this revision.Sep 16 2020, 1:16 AM

fix ProcessThreads

Harbormaster completed remote builds in B71841: Diff 292138.
morehouse accepted this revision.Sep 16 2020, 9:39 AM

LGTM. Was this causing any issues, or is this just a refactor?

This revision is now accepted and ready to land.Sep 16 2020, 9:39 AM

LGTM. Was this causing any issues, or is this just a refactor?

Just refactoring before making GetRegistersAndSP more complicated. RegisterCount with extra registers is inconvenient to calculate.

This revision was automatically updated to reflect the committed changes.