commit | b4d581c84e70b5c8e24d3ff3c4b98ee55116945e | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Oct 09 10:53:37 2019 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Wed Oct 09 18:20:49 2019 -0700 |
tree | b85bfb5365ac451fd02444210e54460b4a1e28b0 | |
parent | 457859e1c58f2a54bcd1602a61a9f3cfeb86fa68 [diff] |
liblog: use packed structs instead of raw unaligned reads Per jmgao@, we still need to worry about unaligned integer accesses. In any case, we already have the packed structs for all of the unaligned data that we're reading, so this change favors using those packed structs. Bug: 142256213 Test: x86,arm32,arm64 liblog-unit-tests Change-Id: I21fc629eac49895d03b5b31daa4cc494b0c4c230