CPSR on Arm64 is 4 bytes in size but windows on Arm implementation is trying to read/write 8 bytes against a byte register causing LLDB unit tests failures.
Ref: https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-arm64_nt_context
Paths
| Differential D112471
[LLDB] Fix Cpsr size for WoA64 target ClosedPublic Authored by omjavaid on Oct 25 2021, 10:43 AM.
Details
Summary CPSR on Arm64 is 4 bytes in size but windows on Arm implementation is trying to read/write 8 bytes against a byte register causing LLDB unit tests failures. Ref: https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-arm64_nt_context
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 25 2021, 11:42 AM Closed by commit rGb595137fe1c0: [LLDB] Fix Cpsr size for WoA64 target (authored by omjavaid). · Explain WhyNov 4 2021, 5:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 384723 lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
lldb/source/Plugins/Process/Windows/Common/arm64/RegisterContextWindows_arm64.cpp
|