mirror of
https://github.com/dart-lang/sdk
synced 2024-07-20 09:54:38 +00:00
6101e4653b
A smoke test to exercise alignment of structs with various field types to see how they are aligned on the stack. Only contains small structs because most ABIs only pass structs less than 16 bytes on the stack. Especially tests iOS64, where `AlignOf(struct{float32;float32;}) == 4` but `AlignOf(struct{int32;int32;}) == 8` due to the special treatment of homogenous floats in the arm64 ABI combined with iOS decision to not align everything on the stack to at least word size. Test tested on iOS64 through Flutter. structs_by_value_tests_configuration.dart is the only non-generated file. The tests are tested in the dependent CL. Tests are ignored in status file and are un-ignored in dependent CL. Tests for https://github.com/dart-lang/sdk/issues/36730. Change-Id: I6ec4523208db740b8ea3f8a4ab1e5717f1088467 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170691 Commit-Queue: Daco Harkes <dacoharkes@google.com> Auto-Submit: Daco Harkes <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dart2js | ||
dart2js_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
legacy_status_dart2js.csv | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.