summaryrefslogtreecommitdiff
path: root/src/vm/peimage.h
diff options
context:
space:
mode:
authorRuben Ayrapetyan <r.ayrapetyan@samsung.com>2017-04-07 13:25:42 +0300
committerJan Kotas <jkotas@microsoft.com>2017-05-23 07:54:50 -0700
commit155f8c247b35549a5d48523f9e6715a94b939d01 (patch)
tree236990f6562a884a20dc7dae8d1a5f9de7e794f3 /src/vm/peimage.h
parent11e2bc8e98a84a8e2bba0bdb80b5ec9a952abf92 (diff)
downloadcoreclr-155f8c247b35549a5d48523f9e6715a94b939d01.tar.gz
coreclr-155f8c247b35549a5d48523f9e6715a94b939d01.tar.bz2
coreclr-155f8c247b35549a5d48523f9e6715a94b939d01.zip
Extract PEImage::CreateLayoutMapped and PEImage::CreateLayoutFlat from PEImage::GetLayoutInternal.
Diffstat (limited to 'src/vm/peimage.h')
-rw-r--r--src/vm/peimage.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm/peimage.h b/src/vm/peimage.h
index 3245621610..f61e185ad6 100644
--- a/src/vm/peimage.h
+++ b/src/vm/peimage.h
@@ -257,6 +257,12 @@ private:
#ifndef DACCESS_COMPILE
// Get or create the layout corresponding to the mask, with an AddRef
PTR_PEImageLayout GetLayoutInternal(DWORD imageLayoutMask, DWORD flags);
+
+ // Create the mapped layout
+ PTR_PEImageLayout CreateLayoutMapped();
+
+ // Create the flat layout
+ PTR_PEImageLayout CreateLayoutFlat();
#endif
// Get an existing layout corresponding to the mask, no AddRef
PTR_PEImageLayout GetExistingLayoutInternal(DWORD imageLayoutMask);