diff options
author | Eugene Rozenfeld <erozen@microsoft.com> | 2017-12-16 02:42:57 +0300 |
---|---|---|
committer | Eugene Rozenfeld <erozen@microsoft.com> | 2017-12-16 02:42:57 +0300 |
commit | eece401ef18d6fe89ee557e9b676ab81f0f7a610 (patch) | |
tree | 64b7460bfeed20ddaccc94dd0b925f345531ef92 /illink.targets | |
parent | ea8fe5d29798dbfa2a1ed33341b788b61aa59795 (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.targets | 2 |
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)" /> |