Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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: #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>
- Loading branch information