Add regression tests for 32-bit x86 struct layout bug fixes.
(Revert "Revert "Add regression tests for 32-bit x86 struct layout bug fixes.""
This reverts commit 56fca7dd5a7ea88abc97290a8e489a05b3db002a.)
Bug: http://b/29154200
Bug: http://b/28070272
Test: (aosp_x86_64-eng emulator, full_fugu-eng, aosp_angler-eng) x
(RsTest 32-bit, RsTest 64-bit)
- Tried ( modified slang, unmodified bcc) and
( modified slang, modified bcc)
- "Modified bcc" is a forthcoming bcc change to turn off old struct
layout fixes, and to verify that front end (Module) and back end
(TargetMachine) agree on the layout of every exported struct type.
https://android-review.googlesource.com/#/c/358954
- "Modified slang" is a forthcoming slang change to add explicit padding
to struct types, thereby fixing the struct layout bugs.
https://android-review.googlesource.com/#/c/359135/
Change-Id: I393230bd9a8d5e87f0e3a94a2fa2bf6e89d00929
9 files changed