[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms ...
authorSean Gillespie <sean@swgillespie.me>
Tue, 24 Jan 2017 03:44:10 +0000 (19:44 -0800)
committerJan Kotas <jkotas@microsoft.com>
Tue, 24 Jan 2017 03:44:10 +0000 (19:44 -0800)
commita621c210b4aded36f2d3190d879f8b9606532d16
tree092cb07283be62ae0fc1313a7a8d4bb050e5d339
parent5e73af6ebcd65d458ee59cbc575388fdffd0b3e5
[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms (dotnet/coreclr#8976)

* Add way to build with FEATURE_STANDALONE_GC from build.sh
* Make CMake changes to build the GC 'PAL' as its own build target (to avoid -nostdinc).
In addition, introduce a "GC PAL" that provides an implementation of
GCToOSInterface on Unix-like platforms, for use with
FEATURE_STANDALONE_GC.

Commit migrated from https://github.com/dotnet/coreclr/commit/bbd32c484f2d00a566217e52bddb6960c2ec0b22
15 files changed:
src/coreclr/CMakeLists.txt
src/coreclr/build.cmd
src/coreclr/build.sh
src/coreclr/clrdefinitions.cmake
src/coreclr/src/dlls/mscoree/coreclr/CMakeLists.txt
src/coreclr/src/gc/CMakeLists.txt
src/coreclr/src/gc/gcenv.ee.standalone.inl
src/coreclr/src/gc/gcenv.unix.cpp [deleted file]
src/coreclr/src/gc/sample/CMakeLists.txt
src/coreclr/src/gc/sample/GCSample.vcxproj
src/coreclr/src/gc/unix/CMakeLists.txt [new file with mode: 0644]
src/coreclr/src/gc/unix/config.h.in [new file with mode: 0644]
src/coreclr/src/gc/unix/configure.cmake [new file with mode: 0644]
src/coreclr/src/gc/unix/gcenv.unix.cpp [new file with mode: 0644]
src/coreclr/src/gc/windows/gcenv.windows.cpp [moved from src/coreclr/src/gc/gcenv.windows.cpp with 100% similarity]