diff options
author | Zoltan Varga <vargaz@gmail.com> | 2019-01-21 06:34:14 +0300 |
---|---|---|
committer | Kenneth Pouncey <kjpou@pt.lu> | 2019-01-21 06:34:14 +0300 |
commit | 99944c65c5b31e7a8eebc1b4866cc26b0ffbbc9b (patch) | |
tree | fcbf0995e9076c59e2efb5210eb7e8cdeb04d2a8 /mcs/tools/Makefile | |
parent | 82b940f0e01138408afb9b5f7c9492db54312d48 (diff) |
[wasm] Add support for linking out unused icalls in interpreter and aot+interp mode using a new --link-icalls option. (#12512)
* [wasm] Add a 'wasm-tuner' helper tool which is ran during the app build process.
Currently it only supports one option: --gen-icall-table which generates a linked
icall table based on a linked mscorlib.dll.
* [wasm] Add support for linking out unused icalls in interpreter and aot+interp mode using a new --link-icalls option.
This involves the following steps:
- mono --print-icall-table > icall-table.json
- tuner.exe --gen-icall-table icall-table.json linker-out/mscorlib.dll > icall-table.h
- link icall-table.h into the final executable.
The downside is that this requires compiling a new mono.wasm even in interpreter mode.
* Update README.
* Fix thisdir.
* [csproj] Update project files
Diffstat (limited to 'mcs/tools/Makefile')
-rw-r--r-- | mcs/tools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/tools/Makefile b/mcs/tools/Makefile index f7f14fb2322..0582dc552b8 100644 --- a/mcs/tools/Makefile +++ b/mcs/tools/Makefile @@ -63,7 +63,7 @@ monotouch_tools_PARALLEL_SUBDIRS = corcompare mono-api-html net_4_x_SUBDIRS = net_4_x_PARALLEL_SUBDIRS = $(net_4_5_dirs) wasm_tools_SUBDIRS = -wasm_tools_PARALLEL_SUBDIRS = linker +wasm_tools_PARALLEL_SUBDIRS = linker wasm-tuner DIST_SUBDIRS = $(net_4_5_dirs) cil-stringreplacer commoncryptogenerator resx2sr gensources upload-to-sentry mono-helix-client |