dart-sdk/runtime
Samir Jindel 41c5da8919 [vm] Fix non-reproducibility of VM builds.
We recently removed two kind bits from `Function` to free up space for other
bits. This left two bits in `RawFunction::kind_tag_` unused and no longer
deterministically initialized. This caused `Function` objects saved in the
snapshot within the `.rodata` section of the `dart` binary to be serialized with
a non-deterministic kind tag. We now zero-initialize the kind tag.

# Test Plan

I built the `runtime` target (which includes `dart`) 10 times locally and
received the same SHA256 hash for `dart` each time.

Change-Id: Ib0de4b4b040e26a92a1ba3364460bcec0f665789
Reviewed-on: https://dart-review.googlesource.com/57624
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-05-31 18:36:46 +00:00
..
bin Reapply "[vm] Add tests for determinism of script and AppJIT snapshots." 2018-05-31 17:18:42 +00:00
include Reapply "[mirrors] Add IsolateMirror.loadUri." 2018-05-29 22:01:01 +00:00
lib [vm/corelib] Remove GrowableArrayMarker hack. 2018-05-30 13:44:43 +00:00
observatory Observatory strong mode fix: fix type errors with onDisconnect. 2018-05-30 20:50:24 +00:00
platform [ VM / Build ] Added '--no-include-kernel-service' to build.py. By default, the kernel service is now included in all build modes, including product mode. Providing '--no-include-kernel-service' will build the specified configuration without the kernel service. 2018-05-23 20:35:53 +00:00
tests/vm Reapply "[vm] Add tests for determinism of script and AppJIT snapshots." 2018-05-31 17:18:42 +00:00
third_party [gn] Split target arch/os defines from dart_config 2017-10-31 17:33:13 +00:00
tools [Observatory] Refactor observatory build to prepare for Fuchsia prebuilt 2018-05-29 16:35:34 +00:00
vm [vm] Fix non-reproducibility of VM builds. 2018-05-31 18:36:46 +00:00
.gitignore
BUILD.gn [ VM / Build ] Added '--no-include-kernel-service' to build.py. By default, the kernel service is now included in all build modes, including product mode. Providing '--no-include-kernel-service' will build the specified configuration without the kernel service. 2018-05-23 20:35:53 +00:00
codereview.settings
configs.gni [windows] Fix 'all' target 2018-05-14 22:17:38 +00:00
CPPLINT.cfg
PRESUBMIT.py
runtime_args.gni [ VM / Build ] Added '--no-include-kernel-service' to build.py. By default, the kernel service is now included in all build modes, including product mode. Providing '--no-include-kernel-service' will build the specified configuration without the kernel service. 2018-05-23 20:35:53 +00:00