HomePhabricator

[lldb] [Process/FreeBSDRemote] Introduce arm64 support

Authored by mgorny on Jan 21 2021, 10:30 AM.

Description

[lldb] [Process/FreeBSDRemote] Introduce arm64 support

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.

Differential Revision: https://reviews.llvm.org/D95297

Details

Committed
mgornyJan 31 2021, 10:52 AM
Differential Revision
D95297: [lldb] [Process/FreeBSDRemote] Introduce arm64 support
Parents
rG3d1200b9f6e3: [llvm] Drop unnecessary const from return types (NFC)
Branches
Unknown
Tags
Unknown