Page MenuHomePhabricator

[lldb] [Process/FreeBSDRemote] Optimize regset pointer logic
ClosedPublic

Authored by mgorny on Fri, Nov 13, 3:51 AM.

Details

Summary

Create a helper GetOffsetRegSetData() method to get pointer
to the regset data accounting for the necessary offset. Establish
the offsets in the constructor and store them in the structure. This
avoids having to add new Get*Offset() methods and combines some common
code.

Diff Detail