Enable GCToOSInterface to be defined on the GC side of the GC interface (dotnet/corec...
authorSean Gillespie <sean@swgillespie.me>
Wed, 16 Nov 2016 17:34:57 +0000 (09:34 -0800)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2016 17:34:57 +0000 (09:34 -0800)
commit8b5ea686066796a5716275395d3fd2e7aedb749f
tree3ad6ec0750f79ee79ed75751d373ef971d3b18c1
parent87cbb05ac5ae75b50bacfc070cd0b9eea91518fb
Enable GCToOSInterface to be defined on the GC side of the GC interface (dotnet/coreclr#8121)

* Re-introduce changes lost in a merge conflict

* Enable GCToOSInterface to be defined behind the GC interface
when building the GC in standalone mode. Provide a skeleton Windows
implementation and the framework for a Unix implementation.

* Address code review feedback

Commit migrated from https://github.com/dotnet/coreclr/commit/bb9f30e4658342f83bb3b5639ae24ec92e0a1d2a
18 files changed:
src/coreclr/clrdefinitions.cmake
src/coreclr/src/gc/CMakeLists.txt
src/coreclr/src/gc/env/gcenv.os.h
src/coreclr/src/gc/gc.cpp
src/coreclr/src/gc/gc.h
src/coreclr/src/gc/gcenv.unix.cpp [new file with mode: 0644]
src/coreclr/src/gc/gcenv.windows.cpp [new file with mode: 0644]
src/coreclr/src/gc/gcpriv.h
src/coreclr/src/gc/handletablecache.cpp
src/coreclr/src/gc/handletablecore.cpp
src/coreclr/src/gc/sample/gcenv.windows.cpp
src/coreclr/src/gc/softwarewritewatch.cpp
src/coreclr/src/vm/CMakeLists.txt
src/coreclr/src/vm/ceemain.cpp
src/coreclr/src/vm/gcenv.ee.cpp
src/coreclr/src/vm/gcenv.ee.h
src/coreclr/src/vm/gcenv.h
src/coreclr/src/vm/gcenv.os.cpp