commit | 0f456a845c9180b626a1c1f986d3028d7f4a373e | [log] [tgz] |
---|---|---|
author | Daco Harkes <dacoharkes@google.com> | Fri Jul 15 11:32:35 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jul 15 11:32:35 2022 +0000 |
tree | 485215e088e63a62165855810fff1c71f4eea403 | |
parent | da31d6f667a71185c6434d5d320bc6be0325d053 [diff] |
[vm] Check for undefined symbols in assembly snapshots We don't check undefined symbols in our assembly snapshots. We currently never emit undefined symbols, because Dart code only refers to Dart code statically. When adding static linking, we would like to have the option to have PC relative calls to native libraries provided as relocatable files (object files or static libraries). Not checking would compile the symbols to dynamic linker, but we don't support that `dart compile exe` at the moment. So we should add this sanity check. Also: Removes unused imports in relevant test. Bug: https://github.com/dart-lang/sdk/issues/49418 Change-Id: I10701b82a1e8a06ce41271bd9183064addfb88f4 Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-nnbd-mac-release-arm64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-win-debug-x64c-try,vm-kernel-precomp-mac-product-x64-try,vm-kernel-precomp-dwarf-linux-product-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251261 Reviewed-by: Tess Strickland <sstrickl@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Jonas Termansen <sortie@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.