[Lldb-commits] [lldb] r342029 - Reduce alignment on struct XSAVE, fixing a gcc warning
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 12 09:09:49 PDT 2018
On 12/09/18 16:37, Greg Clayton wrote:
> Don't we get a blob of register bytes back from ptrace when reading registers? The struct we use must match this byte for byte.
That is true. However, this alignment does not set the layout of the
fields in the struct. Rather it sets the alignment of the struct as a
whole. Therefore, the offsets *within* the struct remain unchanged.
More information about the lldb-commits