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)
commitdb2c3f635d49cc3072ede8f39174459cd764fda4
treec41898d9c5339661ad618c5e386772c932ff8211
parent39b7281317201d4a5380fb6d57504ae9be598346
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.
src/jit/CMakeLists.txt
src/jit/compatjit/CMakeLists.txt
src/jit/crossgen/CMakeLists.txt
src/jit/dll/CMakeLists.txt
src/jit/legacyjit/CMakeLists.txt
src/jit/protojit/CMakeLists.txt
src/jit/protononjit/CMakeLists.txt [new file with mode: 0644]
src/jit/standalone/CMakeLists.txt