commit | 3e50ea32b5e8ddee3c24c7f1f0fe41e9c929cd4b | [log] [tgz] |
---|---|---|
author | Samir Jindel <sjindel@google.com> | Mon May 28 15:13:55 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Mon May 28 15:13:55 2018 +0000 |
tree | f35ea56ac36fb401e495f78adae4e2034040a849 | |
parent | e2597dfba7dd985897451891ad1025793682e1d1 [diff] |
[vm] Support definition of entry-points via @pragma('vm.extern') annotations. The `@pragma` annotations are evaluated by the constants transformation and visible to TFA and the precompiler, which match on the "options" field of the annotation to determine whether to mark the class/procedure as a root. This required enabling the transformation of annotation constants by default. # Test Plan The "vmservice_io.main" entry-point is removed from `main.cc` and annotated with `@pragma`. All precompiler tests will crash if "vmservice_io.main" is not available at runtime. Debug/release precompiler bots are visible in "cl-linux" button. Change-Id: I03c5d6ba7918672ed9905fcaee8dabe675a93a5d Reviewed-on: https://dart-review.googlesource.com/56660 Commit-Queue: Samir Jindel <sjindel@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
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.