Commit 9b0055b
authored
[mono][aot] Add a 'compile-in-child' AOT argument (#98866)
* [mono][aot] Collect command line arguments and pass them to the aot compiler.
* [mono][aot] Extract the code invoking external tools into separate functions.
* [mono][aot] Add a 'compile-in-child' aot argument.
When set, the JIT compilation is done in a child process. This helps to reduce overall memory
usage since memory used during JITting is no longer going to be reserved when
running external tools like opt/llc.
* Enable by default on wasm on unix.
* Handle spaces correctly.
* Disable on windows for now.
* Add dedup support.
* Add windows support.
* Enable on wasm on windows.
* Fix windows support.
* Disable on windows.1 parent a4fb5a3 commit 9b0055b
7 files changed
Lines changed: 267 additions & 75 deletions
File tree
- src/mono
- mono
- mini
- interp
- utils
- wasm/build
0 commit comments