clayborg added a comment.

The "sometimes" depends on how compilers pad the structures that define the 
lists. Since the structs look like:

  struct MemoryList {
    uint32_t count;
    MemoryDescriptor descriptors[];
  };

The compiler might end up padding and extra 4 bytes depending on what is in the 
struct that follows the count. I can clarify this in my comments.


https://reviews.llvm.org/D49579



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to