Revert removal of SuppressGCTransition from SystemNative_GetTimestamp() (dotnet/corec...
authorAaron Robinson <arobins@microsoft.com>
Tue, 29 Oct 2019 22:13:46 +0000 (15:13 -0700)
committerGitHub <noreply@github.com>
Tue, 29 Oct 2019 22:13:46 +0000 (15:13 -0700)
commitfeaa48dc100531e0af5ca79eebc8619d42b3f69d
treefedb0f927b78d4d9abe2f1d83d2cdaefa2c84d66
parent3ebc5bf579748d63039a89c8770034ecb7f3a0ec
Revert removal of SuppressGCTransition from SystemNative_GetTimestamp() (dotnet/coreclr#27473)

* Revert removal of SuppressGCTransition from SystemNative_GetTimestamp()

* Insert GC_POLL before statement with unmanaged call.

* JIT test for insertion of GCPoll

Commit migrated from https://github.com/dotnet/coreclr/commit/77f64aa03e74496c34ca484d6351263fe978757d
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/morph.cpp
src/coreclr/tests/src/JIT/Methodical/gc_poll/CMakeLists.txt [new file with mode: 0644]
src/coreclr/tests/src/JIT/Methodical/gc_poll/GCPollNative.cpp [new file with mode: 0644]
src/coreclr/tests/src/JIT/Methodical/gc_poll/InsertGCPoll.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Methodical/gc_poll/InsertGCPoll.csproj [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/Interop/Unix/System.Native/Interop.GetTimestamp.cs