This revision was automatically updated to reflect the committed changes.
Closed by commit rGb9734c6b44e5: [lldb] [Process/FreeBSDRemote] Optimize regset
pointer logic (authored by mgorny).
Herald added a project: LLDB.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
mgorny updated this revision to Diff 305133.
mgorny added a comment.
Rebase
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91411/new/
https://reviews.llvm.org/D91411
Files:
lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
mgorny updated this revision to Diff 305126.
mgorny added a comment.
Perform offsetting in GetOffsetRegSetData() to avoid UB.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91411/new/
https://reviews.llvm.org/D91411
Files:
mgorny created this revision.
mgorny added reviewers: labath, emaste, krytarowski.
mgorny requested review of this revision.
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