Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Sadov <vsadov@microsoft.com>2021-04-15 05:00:31 +0300
committerGitHub <noreply@github.com>2021-04-15 05:00:31 +0300
commit711424876b78e2de44b6d7479fd750c4a60d7be7 (patch)
tree8c376f87f79449c00f0d719eceb71192df745674 /src/coreclr/inc
parent40a4cb663ee45d885bd5fa59d19d5d11750cf47f (diff)
Singlefile: enabling compression for managed assemblies. (#50817)
* enable compression of assemblies * fix Unix build * map should use converted layout for compressed * enable execution for R2R * fixes for OSX * PR feedback (comments) * more PR feedback * shorter include path to pal_zlib.h * Apply suggestions from code review Co-authored-by: Vitek Karas <vitek.karas@microsoft.com> Co-authored-by: Vitek Karas <vitek.karas@microsoft.com>
Diffstat (limited to 'src/coreclr/inc')
-rw-r--r--src/coreclr/inc/bundle.h4
-rw-r--r--src/coreclr/inc/pedecoder.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/coreclr/inc/bundle.h b/src/coreclr/inc/bundle.h
index ab3ece2d7f5..3d55a54b351 100644
--- a/src/coreclr/inc/bundle.h
+++ b/src/coreclr/inc/bundle.h
@@ -19,13 +19,15 @@ struct BundleFileLocation
{
INT64 Size;
INT64 Offset;
+ INT64 UncompresedSize;
BundleFileLocation()
{
LIMITED_METHOD_CONTRACT;
- Size = 0;
+ Size = 0;
Offset = 0;
+ UncompresedSize = 0;
}
static BundleFileLocation Invalid() { LIMITED_METHOD_CONTRACT; return BundleFileLocation(); }
diff --git a/src/coreclr/inc/pedecoder.h b/src/coreclr/inc/pedecoder.h
index da5643108ac..d637835036d 100644
--- a/src/coreclr/inc/pedecoder.h
+++ b/src/coreclr/inc/pedecoder.h
@@ -236,7 +236,7 @@ class PEDecoder
BOOL IsILOnly() const;
CHECK CheckILOnly() const;
- void LayoutILOnly(void *base, BOOL allowFullPE = FALSE) const;
+ void LayoutILOnly(void *base, bool enableExecution) const;
// Strong name & hashing support