dart-sdk/tools
Aske Simon Christensen 5838562040 [dart2wasm] Add option and target for stringref.
This adds basic infrastructure for a stringref implementation in
dart2wasm:

- A `--[no-]stringref` option to the compiler
- An option in the `WasmTarget`, controlling the name of the target
- Separate sets of patch files for the two targets
- Separate platform dill files for the two targets

For now, the patch file contents are the same, and the compiler flag
is not used by the backend (only by the `dart2wasm` script to select
the appropriate platform dill file). Both of these will change as the
implementation progresses.

Tested: ci + manual check that the option selects the correct dill
Change-Id: I2c9bb95ba06fd3de3f7007703ef545e3f0c728ba
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/310621
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Ömer Ağacan <omersa@google.com>
2023-06-21 14:25:38 +00:00
..
bots [dart2wasm] Add option and target for stringref. 2023-06-21 14:25:38 +00:00
buildtools
dart2js
dom
fuchsia
linux_dist_support
package_deps
patches
sdks
spec_parser
test_generators
testing
verify_docs
.gitignore
3xhead_flutter_hooks.sh
addlatexhash.dart
analysis_options.yaml
build.py
canary.dart
copy_dart.py
copy_tree.py
create_pkg_manifest.py
diff_results.dart
download_chromium_sysroot.sh
experimental_features.yaml
FAKE_COMMITS
find_depot_tools.py
gen_fuchsia_test_manifest.py
generate_buildfiles.py
generate_experimental_flags.dart
generate_idefiles.py
generate_package_config.dart
generate_package_config.py
generate_sdk_version_file.py
generate_shim_headers.py
get_dot_git_folder.py
git_cl_try.sh
gn.py
gn_helpers.py
line_doc_comments.dart
list_dart_files.py
list_dart_files_as_depfile.py
make_version.py
manage_deps.dart
minidump.py
opt_out_files.dart
OWNERS
OWNERS_ANALYZER
OWNERS_BUILD
OWNERS_CFE
OWNERS_DEVTOOLS
OWNERS_ECOSYSTEM
OWNERS_ENG
OWNERS_FOUNDATION
OWNERS_GOOGLE3
OWNERS_INFRA
OWNERS_PRODUCT
OWNERS_PUB
OWNERS_VM
OWNERS_WASM
OWNERS_WEB
presubmit.sh
publish_pkg.py
rev_sdk_deps.dart
run_offsets_extractor.sh
run_with_coredumps_enabled.py
set_ia32_sysroot.sh
set_x64_sysroot.sh
spec_parse.py
task_kill.py
test.dart
test.py
utils.py
validate_test_matrix.dart
VERSION
write_dartdoc_options_file.py
write_revision_file.py
write_version_file.py
yaml2json.dart