1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 12:06:26 +00:00
dart-sdk/pkg
Clement Skau 0ce83987d6 Reland "[SDK] Adds an SDK hash to kernels and the VM."
Note: This is a reland of https://dart-review.googlesource.com/c/sdk/+/150343

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.

This also bumps the min. and current ABI version.

Bug: https://github.com/dart-lang/sdk/issues/41802
Change-Id: I2f85945045a603eb9dcfd1f2c0d0d024bd84a956
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152802
Commit-Queue: Clement Skau <cskau@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-07-07 06:08:20 +00:00
..
_fe_analyzer_shared [cfe] Implement new async return rules 2020-07-06 07:04:40 +00:00
_js_interop_checks Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
analysis_server Add an additional category into completion_metrics.dart: parameter references 2020-07-06 22:39:39 +00:00
analysis_server_client Add support for folding if/else/elseif blocks 2020-06-17 19:32:50 +00:00
analysis_tool Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
analyzer Add DynamicType, NeverType, and VoidType to API. 2020-07-07 00:22:40 +00:00
analyzer_cli Add buildSdkSummary() to analyzer API. 2020-07-06 23:03:09 +00:00
analyzer_plugin Add support for navigating from the URI in import and export configurations to the referenced file 2020-06-24 22:46:33 +00:00
async_helper Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
build_integration Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
compiler [dart2js] include dart:_js_annotations into the platform file by default 2020-07-06 21:41:02 +00:00
dart_internal analyzer: Do not allow errors to be ignored inline. Fixes #27218 2020-04-10 17:16:24 +00:00
dart2js_tools Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
dart2native Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
dartdev [dartdev] add --enable-experiment support to 'dart test' 2020-07-06 16:38:11 +00:00
dartfix Revert "Bump cli_util to 0.2.0; implement new methods" 2020-06-10 23:59:05 +00:00
dds [ package:dds ] Handle expression evaluation invocations in DDS and forward compileExpression calls to clients which provide their own compilation service. 2020-06-11 22:43:39 +00:00
dev_compiler copy package config changes to the modular_suite_nnbd.dart 2020-07-06 20:53:11 +00:00
diagnostic Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
expect Migrate the new async error tests. 2020-06-26 20:59:28 +00:00
front_end Reland "[SDK] Adds an SDK hash to kernels and the VM." 2020-07-07 06:08:20 +00:00
frontend_server [vm/aot/tfa] Re-implement protobuf-aware tree shaker inside TFA 2020-06-23 21:17:03 +00:00
js [pkg:js] Enable pedantic lints 2020-06-17 16:35:56 +00:00
js_ast Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
kernel Reland "[SDK] Adds an SDK hash to kernels and the VM." 2020-07-07 06:08:20 +00:00
meta Add unawaited to package:meta 2020-07-06 21:57:52 +00:00
modular_test Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
native_stack_traces [vm/aot] Reland "Keep column information when possible for precompiled mode." 2020-06-19 13:50:03 +00:00
nnbd_migration Stop depending on exports from generated/resolver.dart 2020-07-03 15:55:41 +00:00
smith Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
sourcemap_testing Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
status_file Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
telemetry Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
test_runner Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
testing Clean up no-publish comments in pubspecs 2020-06-23 10:34:09 +00:00
vm [vm/nnbd] Further specialize invocations of List.filled factory 2020-07-03 23:19:02 +00:00
vm_service pkg:vm_service - update and fix lints at pedantic v1.8 2020-06-10 05:08:27 +00:00
vm_snapshot_analysis [vm/aot] Add machine readable precompiler trace 2020-07-03 09:29:10 +00:00
.gitignore
BUILD.gn
pkg.status [vm/aot] Add machine readable precompiler trace 2020-07-03 09:29:10 +00:00