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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Rozenfeld <erozen@microsoft.com>2017-12-16 02:42:57 +0300
committerEugene Rozenfeld <erozen@microsoft.com>2017-12-16 02:42:57 +0300
commiteece401ef18d6fe89ee557e9b676ab81f0f7a610 (patch)
tree64b7460bfeed20ddaccc94dd0b925f345531ef92 /illink.targets
parentea8fe5d29798dbfa2a1ed33341b788b61aa59795 (diff)
Update ILLink version.
I verified that this causes no assembly trimming diffs. This change also exposes a new ILLink capability. Setting ILLinkClearInitLocals=true will cause the linker to clear initlocals flag on all methods. This is off by default and is exposed for perf experiments.
Diffstat (limited to 'illink.targets')
-rw-r--r--illink.targets2
1 files changed, 2 insertions, 0 deletions
diff --git a/illink.targets b/illink.targets
index 7501e2925a..8e3525d77f 100644
--- a/illink.targets
+++ b/illink.targets
@@ -71,6 +71,8 @@
<ILLinkArgs>$(ILLinkArgs) -v true</ILLinkArgs>
<!-- reflection heuristics to apply -->
<ILLinkArgs>$(ILLinkArgs) -h LdtokenTypeMethods,InstanceConstructors</ILLinkArgs>
+ <!-- add a linker step to clear initlocals flag on all assemblies before the output step -->
+ <ILLinkArgs Condition="'$(ILLinkClearInitLocals)' == 'true'">$(ILLinkArgs) -s ILLink.CustomSteps.ClearInitLocalsStep,ILLink.CustomSteps:OutputStep</ILLinkArgs>
</PropertyGroup>
<MakeDir Directories="$(ILLinkTrimInputPath)" />