dart-sdk/tests
Daco Harkes 3f0ad61daa Reland "[vm/ffi] Disallow Pointers and structs in finalizers and expandos"
`Dart_NewWeakPersistentHandle` and `Dart_NewFinalizableHandle` in
`dart_api.h` do no longer accept `Pointer`s and subtypes of `Struct`s
as values passed in to the `object` parameter.

Expandos no longer accept `Pointer`s and subtypes of `Struct`s
as values passed in to the `object` parameter.

Cleans up unused object_store->ffi_struct_class.

Closes: https://github.com/dart-lang/sdk/issues/45071
Breaking change: https://github.com/dart-lang/sdk/issues/45072

TEST=vm/cc/DartAPI_FinalizableHandleErrors
TEST=vm/cc/DartAPI_WeakPersistentHandleErrors
TEST=tests/ffi(_2)/expando_test.dart

Change-Id: I9af6d0173db60614091068c218391f73756c135f
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195061
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2021-04-13 13:52:36 +00:00
..
co19 [co19] Fix update script to prevent incorrect issue links again 2021-04-13 13:42:12 +00:00
co19_2
corelib Reland "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-13 13:52:36 +00:00
corelib_2 Reland "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-13 13:52:36 +00:00
dartdevc
dartdevc_2
ffi Reland "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-13 13:52:36 +00:00
ffi_2 Reland "[vm/ffi] Disallow Pointers and structs in finalizers and expandos" 2021-04-13 13:52:36 +00:00
language [vm/aot] Discard Code objects from the heap 2021-04-13 02:36:16 +00:00
language_2 [vm/aot] Discard Code objects from the heap 2021-04-13 02:36:16 +00:00
lib
lib_2
modular
standalone
standalone_2
web
web_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.