diff options
author | Andon Andonov <anandono@microsoft.com> | 2019-01-14 19:59:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-14 19:59:12 -0800 |
commit | 9fe3286e3810298934315e999580edd78c3322c2 (patch) | |
tree | 79258a0ed5b043cc7a0ecac0131a77e58753e436 /src/zap/zapimage.cpp | |
parent | dbdae9cc324a97ebc9199b973abe9a21b1177f01 (diff) | |
download | coreclr-9fe3286e3810298934315e999580edd78c3322c2.tar.gz coreclr-9fe3286e3810298934315e999580edd78c3322c2.tar.bz2 coreclr-9fe3286e3810298934315e999580edd78c3322c2.zip |
Large version bubble Support (#21727)
* Preliminary Changes
* Module Index Resolution
* Change infoModule encoding
* Change referencing module in R2R
* Pre-condition Check
* Virtual Method Module Resolution
* Remove Workarounds and add conditional import loading
* Add signature kind module override
* Add ELEMENT_TYPE_MODULE_ZAPSIG
* Add switch to enable large version bubble
* Cleanup
* Change Native header check
* Add large version bubble test
* Add Large Version Bubble Checks
* Cleanup
* Revert unnecessary check
* Change EncodeMethod Version Bubble Condition
* Add Large Version Bubble asserts
* Cleanup
* Add default argument to runtests.py
* Change test PreCommands
* Revert whitespace changes
* Change breaking conditional check
* Streamline Version Bubble test
* Address PR Feedback
* Address PR Feedback #2
* Remove dead code
* Add crossgen-time ifdef
Diffstat (limited to 'src/zap/zapimage.cpp')
-rw-r--r-- | src/zap/zapimage.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp index 7dce3af285..3fa607333d 100644 --- a/src/zap/zapimage.cpp +++ b/src/zap/zapimage.cpp @@ -1082,7 +1082,7 @@ HANDLE ZapImage::GenerateFile(LPCWSTR wszOutputFileName, CORCOMPILE_NGEN_SIGNATU HANDLE ZapImage::SaveImage(LPCWSTR wszOutputFileName, LPCWSTR wszDllPath, CORCOMPILE_NGEN_SIGNATURE * pNativeImageSig) { - if (!IsReadyToRunCompilation()) + if(!IsReadyToRunCompilation() || IsLargeVersionBubbleEnabled()) { OutputManifestMetadata(); } @@ -1835,6 +1835,10 @@ void ZapImage::Compile() OutputTypesTableForReadyToRun(m_pMDImport); OutputInliningTableForReadyToRun(); OutputProfileDataForReadyToRun(); + if (IsLargeVersionBubbleEnabled()) + { + OutputManifestMetadataForReadyToRun(); + } } else #endif |