dart-sdk/runtime
Samir Jindel bc16959fc7 Reland "[vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable."
The original revision is in patchset 1.

Three bugs are fixed:

1. Fix SIMARM_X64 build: no need to generate trampolines for AOT or simulated JIT.
2. Hot-reload: Fix hot-reload: don't invalidate Code for force-optimized functions.
3. Windows: Provide shadow space to runtime routines.

Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-mac-debug-simarm_x64-try,vm-kernel-precomp-mac-release-simarm_x64-try,vm-kernel-reload-linux-debug-x64-try,vm-kernel-reload-rollback-linux-debug-x64-try,vm-kernel-win-debug-ia32-try,vm-kernel-win-debug-x64-try,vm-kernel-win-release-ia32-try,vm-kernel-win-release-x64-try
Change-Id: I326009cfacb51a84e9de4ddf9ff2d6d415460f91
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113829
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-08-21 13:33:37 +00:00
..
bin Reland "[vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable." 2019-08-21 13:33:37 +00:00
docs [vm/doc] Add documentation describing AOT code size analysis 2019-08-12 12:08:35 +00:00
include [vm/ffi] Call natives through stubs if write-protection is enabled without dual-mapping. 2019-08-07 11:37:20 +00:00
lib Reland "[vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable." 2019-08-21 13:33:37 +00:00
llvm_codegen [llvm] Fix bit target definition on Windows - it needs .exe extension 2019-07-31 17:33:09 +00:00
observatory [observatory] Remove stale asserts from heap snapshot processing. 2019-08-20 17:08:10 +00:00
platform Use MAP_JIT when doing an mmap for executable pages (needed for macOS Catalina). 2019-08-14 16:51:49 +00:00
tests/vm [ VM / Service ] Use the name of the a function's defining mixin instead of the 2019-08-15 21:10:47 +00:00
third_party Mass format python with yapf 2019-08-05 20:34:31 +00:00
tools [vm/fuzzer] Disable stacktrace option on FFI runs 2019-08-21 00:42:44 +00:00
vm Reland "[vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable." 2019-08-21 13:33:37 +00:00
.gitignore
BUILD.gn [vm/bytecode] Bootstrapping VM from bytecode 2019-06-26 18:25:26 +00:00
codereview.settings
configs.gni
CPPLINT.cfg
PRESUBMIT.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
runtime_args.gni