This is an archive of the discontinued LLVM Phabricator instance.

[NFC][compiler-rt][hwasan] Re-use ring buffer size calculation
ClosedPublic

Authored by leonardchan on Jun 23 2021, 4:12 PM.

Details

Summary

Users can call HwasanThreadList::GetRingBufferSize rather than RingBufferSize to prevent having to do the calculation in RingBufferSize. This will be useful for Fuchsia where we plan to initialize the stack ring buffer separately from the rest of thread initialization.

Diff Detail

Event Timeline

leonardchan created this revision.Jun 23 2021, 4:12 PM
leonardchan requested review of this revision.Jun 23 2021, 4:12 PM
vitalybuka accepted this revision.Jun 29 2021, 12:17 AM
This revision is now accepted and ready to land.Jun 29 2021, 12:17 AM