This is an archive of the discontinued LLVM Phabricator instance.

[XRay] Use more portable control block
ClosedPublic

Authored by dberris on Oct 28 2018, 7:11 PM.

Details

Summary

In D53560, we assumed a specific layout for memory without using an
explicit structure. This follow-up change uses more portable layout
control by using unions in a struct, and consolidating the memory
management code in the buffer queue.

We also take the opportunity to improve the documentation on the types
and operations, along with simplifying some of the logic in the buffer
queue implementation.

Diff Detail

Repository
rL LLVM

Event Timeline

dberris created this revision.Oct 28 2018, 7:11 PM
This revision is now accepted and ready to land.Oct 28 2018, 7:15 PM
This revision was automatically updated to reflect the committed changes.