dart-sdk/sdk/lib/ffi
Samir Jindel ecbea5a58e [vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).
To do this, we add writable data sections (currently uninitialzed) to ELF and Asm snapshots
and allow Instructions to have patchable relocations against (the start of) these sections.

Issue https://github.com/dart-lang/sdk/issues/37295 (see also for design & discussion).

Change-Id: If20bfa55776f4044aaa6bb8ea2101d2ada41842c
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-android-release-arm-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110221
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-09-03 12:02:02 +00:00
..
annotations.dart [vm/ffi] Revamp struct representation in FFI. 2019-07-02 23:12:13 +00:00
dynamic_library.dart [vm/ffi] DynamicLibrary.process() and DynamicLibrary.executable() 2019-08-19 14:24:01 +00:00
ffi.dart [vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs). 2019-09-03 12:02:02 +00:00
ffi_sources.gni [vm/ffi] Revamp struct representation in FFI. 2019-07-02 23:12:13 +00:00
native_type.dart [vm/ffi] Fix incomplete handling of Ffi types in VisitPointersPredefined. 2019-08-29 18:57:34 +00:00
struct.dart [vm/ffi] Revamp struct representation in FFI. 2019-07-02 23:12:13 +00:00