Switch P/Invokes into libcoreclr for the PAL to QCalls (#25055)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Tue, 11 Jun 2019 04:33:00 +0000 (21:33 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2019 04:33:00 +0000 (21:33 -0700)
commita6292a6573e1f7d6e218293773e443280683cd83
tree64041c42a5801cb4d10316380b4b368388dd18fb
parent5cea50c794753b65a25c17b9b88a84eb7e432ba5
Switch P/Invokes into libcoreclr for the PAL to QCalls (#25055)

* Switch PInvokes into libcoreclr to QCalls

* Register QCalls in runtime. Remove pal exports from libcoreclr

* Alphabetize new ecalllist.h entries

* Remove W suffixes from native side of QCall

* Interop signatures are in nested classes (which doesn't show up here) in the root namespace. So we don't want to pass a namespace in here

* Convert the interop test in R2R to use a local native library instead of calling into the CoreCLR PAL via DllImport.
src/System.Private.CoreLib/src/Interop/Unix/Interop.Libraries.cs
src/dlls/mscoree/mscorwks_unixexports.src
src/vm/ecalllist.h
tests/src/readytorun/CMakeLists.txt [new file with mode: 0644]
tests/src/readytorun/tests/CMakeLists.txt [new file with mode: 0644]
tests/src/readytorun/tests/main.cs
tests/src/readytorun/tests/mainv1.csproj
tests/src/readytorun/tests/mainv2.csproj
tests/src/readytorun/tests/native.cpp [new file with mode: 0644]
tests/src/readytorun/tests/test.cs