diff options
author | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2019-04-19 15:59:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-19 15:59:52 +0200 |
commit | 4049a3e9bb28eb4ed7963adf691e2a58a982eb32 (patch) | |
tree | 3aa70b2ff2a016365ead92192b21d78581d20d88 | |
parent | ea70542185ef413dd23d685958a55a9721c6e9a7 (diff) | |
download | coreclr-4049a3e9bb28eb4ed7963adf691e2a58a982eb32.tar.gz coreclr-4049a3e9bb28eb4ed7963adf691e2a58a982eb32.tar.bz2 coreclr-4049a3e9bb28eb4ed7963adf691e2a58a982eb32.zip |
Look for IBC data outside Windows (#24062)
#23363 added a crossplat implementation of `GetWin32Resource`, but forgot to enable places that call it.
-rw-r--r-- | src/zap/zapheaders.cpp | 2 | ||||
-rw-r--r-- | src/zap/zapimage.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/zap/zapheaders.cpp b/src/zap/zapheaders.cpp index 8ca00d7486..c931d3bfcb 100644 --- a/src/zap/zapheaders.cpp +++ b/src/zap/zapheaders.cpp @@ -223,7 +223,6 @@ void ZapVersionResource::Save(ZapWriter * pZapWriter) void ZapImage::CopyWin32VersionResource() { -#ifndef FEATURE_PAL // Copy the version resource over so it is easy to see in the dumps where the ngened module came from COUNT_T cbResourceData; PVOID pResourceData = m_ModuleDecoder.GetWin32Resource(MAKEINTRESOURCE(1), RT_VERSION, &cbResourceData); @@ -239,7 +238,6 @@ void ZapImage::CopyWin32VersionResource() m_pWin32ResourceSection->Place(pVersionData); SetDirectoryEntry(IMAGE_DIRECTORY_ENTRY_RESOURCE, m_pWin32ResourceSection); -#endif } #undef MAKEINTRESOURCE diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp index da7ea508e4..aa661f53eb 100644 --- a/src/zap/zapimage.cpp +++ b/src/zap/zapimage.cpp @@ -2448,7 +2448,6 @@ HRESULT ZapImage::LocateProfileData() return S_FALSE; } -#if !defined(FEATURE_PAL) // // See if there's profile data in the resource section of the PE // @@ -2463,7 +2462,6 @@ HRESULT ZapImage::LocateProfileData() static ConfigDWORD g_UseIBCFile; if (g_UseIBCFile.val(CLRConfig::EXTERNAL_UseIBCFile) != 1) return S_OK; -#endif // // Couldn't find profile resource--let's see if there's an ibc file to use instead |