(Re)Enable NativeVarargs for CoreCLR (#18373)
authorJarret Shook <jashoo@microsoft.com>
Mon, 11 Jun 2018 18:28:26 +0000 (11:28 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Jun 2018 18:28:26 +0000 (11:28 -0700)
commite6004705f3e14742e9dcdfce3d8d9caeada83451
treebd79311b6fb5e068fae351eac740247e57afedc9
parent8e47b640f17e1baae20d63e2ecc85b56415ec4e9
(Re)Enable NativeVarargs for CoreCLR (#18373)

* Enable NativeVarargs for CoreCLR

This will allow coreclr run programs which have native varargs.
It also re-enables the ArgIterator type for managed to managed native
vararg calls. This will allow the use of the __arglist keyword.

Limitations:

NYI statements have been added for all Unix Targets.

With this change __arglist (native varargs) will be supported, but not
yet tested on:

Amd64 Windows
x86 Windows
Arm32 Windows
Arm64 Windows

This change does not re-enable native vararg tests. This will be done
in a separate change.
src/System.Private.CoreLib/src/System/ArgIterator.cs
src/jit/lclvars.cpp
src/jit/morph.cpp
src/vm/jitinterface.cpp
tests/arm/Tests.lst
tests/arm64/Tests.lst
tests/issues.targets