Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mono][aot] Add a 'compile-in-child' AOT argument (dotnet#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.
- Loading branch information