dart-sdk/tests
Tess Strickland 6f83a5ff9b [vm/aot] Add a GNU build ID to direct-to-ELF snapshots.
For proper crashpad integration, we need to generate a build ID, as the
build ID generated by crashpad if there is not one will be a simple XOR
of the first text page, which rarely changes for Dart snapshots.
Assembly snapshots already have a build ID included by the assembler, so
we currently only do this for ELF snapshots.

Currently the build ID is a 128-bit hash value that is four separate
32-bit hash values concatenated together. Those hash values come from
the contents of the VM and isolate .text and .rodata sections.

This change also contains work to separate out the concepts of sections
and segments in the ELF builder. Now, consecutive allocated sections
with the same write and execute flags are combined into a single PT_LOAD
segment when possible, which reduces the padding needed to ensure that
segments start on page boundaries in ELF snapshots.

Bug: https://github.com/dart-lang/sdk/issues/42020
Change-Id: I42a837dae665a3902d881b8d151b49ede87d6c67
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-linux-release-simarm_x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150625
Commit-Queue: Tess Strickland <sstrickl@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-06-16 12:46:24 +00:00
..
co19 [co19] Enable Subtyping tests 2020-06-15 15:14:41 +00:00
co19_2 [co19] Re-enable tests skipped due to breaking change #40674 2020-05-12 14:51:19 +00:00
compiler/dartdevc_native [dart2js] Move dart2js_native to dart2js/native. 2020-06-04 18:11:49 +00:00
corelib Skip unicode surrogate test on android 2020-05-30 23:29:02 +00:00
corelib_2 Skip unicode surrogate test on android 2020-05-30 23:29:02 +00:00
dart2js [dart2js] Fix some compilation errors in dart2js/native. 2020-06-16 01:20:18 +00:00
dart2js_2 [dart2js] Fix some compilation errors in dart2js/native. 2020-06-16 01:20:18 +00:00
ffi [vm/ffi] Convert Objects to Dart_Handles in FFI calls 2020-06-12 11:14:22 +00:00
ffi_2 [vm/ffi] Convert Objects to Dart_Handles in FFI calls 2020-06-12 11:14:22 +00:00
kernel [VM] Fixes bad reuse/typing of temps in async transform invocations. 2020-03-06 12:20:45 +00:00
language [vm/aot] Avoid unbinding canonical names in AOT transformations 2020-06-15 22:00:42 +00:00
language_2 Report NO_COMBINED_SUPER_SIGNATURE. 2020-06-15 17:42:45 +00:00
lib [VM/runtime] - detect null safety before isolate initialization 2020-06-11 01:22:35 +00:00
lib_2 Change terms to be more divisive 2020-06-10 17:14:37 +00:00
modular [dart2js] Fix bug in modular_test_suite. 2020-05-28 21:30:36 +00:00
standalone [dart:io] Fix _connecting counting in HttpClient 2020-06-15 22:24:02 +00:00
standalone_2 [vm/aot] Add a GNU build ID to direct-to-ELF snapshots. 2020-06-16 12:46:24 +00:00
legacy_status_dart2js.csv [dart2js] Remove obsolete unittests. 2020-05-12 17:16:39 +00:00
README.md Update tests/README to point to new doc. 2019-08-06 22:19:42 +00:00

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.