dart-sdk/third_party
Liam Appelbe 1b94364da7 [wasm] Clean up native objects using finalizers
The finalizers associate each native object with a Dart object that owns
them. The finalizers need to be in native code, so I had to go back to
the old approach of linking Wasmer and my native code into a single .so.

TEST=I tried running the wasm tests using asan, but it didn't detect any
leaks even before the finalizers. So I put printfs in all the
set_finalizer and finalizer functions and manually verified that all the
finalizers were being run.

Bug: https://github.com/dart-lang/sdk/issues/37882
Change-Id: I38303ae0c6c446a23562c1b157c92ccc9af2dc34
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/172680
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Liam Appelbe <liama@google.com>
2020-11-24 21:12:09 +00:00
..
babel
d8
firefox_jsshell
llvm
mdn/browser-compat-data
pkg_tested
requirejs
tcmalloc [standalone] Update tcmalloc to 2.8. 2020-11-13 19:17:40 +00:00
wasmer [wasm] Clean up native objects using finalizers 2020-11-24 21:12:09 +00:00
.gitignore
7zip.tar.gz.sha1
clang.tar.gz.sha1