runtime
runtime copied to clipboard
Multi-module compilation
- Command-line specifies a number of "input files" that get all compiled into a single output R2R PE executable;
- Today architecture will need minor tweaks as we won't have a pre-existing MSIL to start off;
- All input files will be part of the CompilationModuleGroup without any singled-out assembly;
- This is expected to require additional CoreCLR runtime changes to work properly end-to-end;
- This will require a 2-level MethodEntrypointTable to cater for method tables for the individual modules and perhaps a new R2R component module table;
- Alternatively we might want to keep the pre-existing functionality untouched and just add a completely new entrypoint table format specific to the multi-module build.
Closing this issue which basically outlined an early description of the composite R2R mode we've build.