[Lldb-commits] [PATCH] D95297: [lldb] [Process/FreeBSDRemote] Introduce arm64 support
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sat Jan 23 14:56:48 PST 2021
mgorny created this revision.
mgorny added reviewers: labath, krytarowski, emaste, omjavaid.
Herald added subscribers: kristof.beyls, arichardson.
mgorny requested review of this revision.
Introduce arm64 support in the FreeBSDRemote plugin. The code
is roughly based on Linux and reuses the same POSIX RegisterInfos
(but the buffers need to be a few bytes larger due to stricter struct
member alignment in FreeBSD structures -- luckily, they do not affect
the actual member offsets). It supports reading and writing
general-purpose and FPU registers. SVE and hardware watchpoint support
is missing due to the limitations of FreeBSD ptrace(2) API.
https://reviews.llvm.org/D95297
Files:
lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
lldb/source/Plugins/Process/FreeBSDRemote/CMakeLists.txt
lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.cpp
lldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_arm64.h
lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95297.318792.patch
Type: text/x-patch
Size: 15441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210123/6a586e04/attachment.bin>
More information about the lldb-commits
mailing list