[Lldb-commits] [PATCH] D91411: [lldb] [Process/FreeBSDRemote] Optimize regset pointer logic

2020-11-16 Thread Michał Górny via Phabricator via lldb-commits
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

[Lldb-commits] [PATCH] D91411: [lldb] [Process/FreeBSDRemote] Optimize regset pointer logic

2020-11-13 Thread Michał Górny via Phabricator via lldb-commits
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

[Lldb-commits] [PATCH] D91411: [lldb] [Process/FreeBSDRemote] Optimize regset pointer logic

2020-11-13 Thread Michał Górny via Phabricator via lldb-commits
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:

[Lldb-commits] [PATCH] D91411: [lldb] [Process/FreeBSDRemote] Optimize regset pointer logic

2020-11-13 Thread Michał Górny via Phabricator via lldb-commits
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