dart-sdk/utils
Clement Skau edde575dcd [SDK] Adds an SDK hash to kernels and the VM.
Adds a new SDK hash to kernels and the VM which is optionally checked
to verify kernels are built for the same SDK as the VM.
This helps catch incompatibilities that are currently causing
subtle bugs and (not so subtle) crashes.

The SDK hash is encoded in kernels as a new field in components.
The hash is derived from the 10 byte git short hash.

This new check can be disabled via:
  tools/gn.py ... --no-verify-sdk-hash

This CL bumps the min. (and max.) supported kernel format version,
making the VM backwards incompatible from this point back.

Bug: https://github.com/dart-lang/sdk/issues/41802
Change-Id: I3cbb2d481239ee64dafdaa0e4aac36c80281931b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150343
Commit-Queue: Clement Skau <cskau@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-06-26 13:35:42 +00:00
..
analysis_server [analyzer] add more inputs to the analysis server GN build 2019-10-16 22:43:59 +00:00
bazel add --verbose support to Kernel worker 2020-05-15 15:18:52 +00:00
compiler [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
dart2native [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
dartanalyzer [SDK] Adds an SDK hash to kernels and the VM. 2020-06-26 13:35:42 +00:00
dartdev [ VM / DartDev ] Updated build rules for DartDev and exposed create_platform_sdk build target 2020-05-12 23:37:19 +00:00
dartdevc [SDK] Adds an SDK hash to kernels and the VM. 2020-06-26 13:35:42 +00:00
dartdoc [VM/SDK] Switch kernel isolate to run in Dart 2 mode 2018-08-21 20:28:06 +00:00
dartfix Add a script and target to run dartfix 2019-10-14 15:50:21 +00:00
dartfmt [VM/SDK] Switch kernel isolate to run in Dart 2 mode 2018-08-21 20:28:06 +00:00
gen_kernel [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
kernel-service [SDK] Adds an SDK hash to kernels and the VM. 2020-06-26 13:35:42 +00:00
peg Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
pub Remove workaround introduced for issue #40486, that issue 2020-02-26 03:26:25 +00:00
tests/peg [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
application_snapshot.gni [SDK] Adds an SDK hash to kernels and the VM. 2020-06-26 13:35:42 +00:00
compile_platform.gni [SDK] Adds an SDK hash to kernels and the VM. 2020-06-26 13:35:42 +00:00
create_timestamp.gni [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00