diff options
author | Peter Collingbourne <pcc@google.com> | 2020-10-02 13:47:03 -0700 |
---|---|---|
committer | Peter Collingbourne <pcc@google.com> | 2020-10-02 15:46:31 -0700 |
commit | 4edf74ab1ae2da4bda80d19f4c014e983c74903d (patch) | |
tree | 779b3fc2615e6c7b0792a51fd61fc7f7089144fd /benchmarks/spawn/spawn_benchmarks.cpp | |
parent | 897fd6ecb3a7c8964cf50f8926bbaeb6e46449eb (diff) |
Add an internal struct layout test.
A downstream user of bionic has a test that requires the sizes and
offsets of various fields in pthread_internal_t to be consistent
between x86 and arm32, and between x86_64 and arm64, by checking that
the sizes and offsets match hardcoded constants. Since this test often
makes it difficult to update bionic's internal data structures, add
a test to bionic that does the same thing so that we can remove the
downstream test and make it easier to change internal data structures
in bionic.
Change-Id: Id5bd3f9fae00aa3b50d1b1267e782e26fe6c8369
Diffstat (limited to 'benchmarks/spawn/spawn_benchmarks.cpp')
0 files changed, 0 insertions, 0 deletions