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.
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to