Build cross-compile altjits for arm32 and arm64
authorBruce Forstall <brucefo@microsoft.com>
Thu, 2 Mar 2017 17:14:52 +0000 (09:14 -0800)
committerBruce Forstall <brucefo@microsoft.com>
Thu, 2 Mar 2017 22:16:30 +0000 (14:16 -0800)
commit739c34951d171f21302d67729067a9b5d75646d1
treec982d4238390a4d15aaf8914d9b236d7d0135657
parent79045af6b3cb820d0cb49d7a3916dc9fbd81d8a7
Build cross-compile altjits for arm32 and arm64

On x86, build an x86-host, arm32-target altjit.
On amd64, build an amd64-host, arm64-target altjit.

Each are named protononjit.dll, using our existing naming
convention (proto for "prototype", nonjit meaning the code
won't be executed).

Use these via:
```
set COMPlus_AltJit=*
set COMPlus_AltJitName=protononjit.dll
```
Of course, instead of `*`, you can use any function name.

They are very useful for debugging the JIT in a "nicer" environment
than the full native environment, especially if the full native
environment isn't complete, or if the tools (such as debuggers, editors)
are better in the cross environment than the native environment.

These are only built on Windows. It might be possible to build them
on Linux as well, but that will require some more build work.

Commit migrated from https://github.com/dotnet/coreclr/commit/db2c3f635d49cc3072ede8f39174459cd764fda4
src/coreclr/src/jit/CMakeLists.txt
src/coreclr/src/jit/compatjit/CMakeLists.txt
src/coreclr/src/jit/crossgen/CMakeLists.txt
src/coreclr/src/jit/dll/CMakeLists.txt
src/coreclr/src/jit/legacyjit/CMakeLists.txt
src/coreclr/src/jit/protojit/CMakeLists.txt
src/coreclr/src/jit/protononjit/CMakeLists.txt [new file with mode: 0644]
src/coreclr/src/jit/standalone/CMakeLists.txt