Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiy Kuryata <sergeyk@microsoft.com>2017-07-10 07:24:58 +0300
committerGitHub <noreply@github.com>2017-07-10 07:24:58 +0300
commitdd898474d66ce319e04a3367772a5d402a50cd86 (patch)
tree49b1203d9b2cb43b105d5fc23ec111ed03ab82e2 /src/Native/Runtime/portable.cpp
parent5e6d08b9bd4790d20599b3841a0a87c9b38047f3 (diff)
Enable return address hijacking for thread suspension on Windows x64 (#4106)
Enable return address hijacking for thread suspension on Windows x64 * Code review feedback
Diffstat (limited to 'src/Native/Runtime/portable.cpp')
-rw-r--r--src/Native/Runtime/portable.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Native/Runtime/portable.cpp b/src/Native/Runtime/portable.cpp
index 74ab3c9fa..4a8995798 100644
--- a/src/Native/Runtime/portable.cpp
+++ b/src/Native/Runtime/portable.cpp
@@ -294,6 +294,8 @@ EXTERN_C void * ReturnFromCallDescrThunk;
#ifdef USE_PORTABLE_HELPERS
void * ReturnFromCallDescrThunk;
#endif
+
+#if defined(USE_PORTABLE_HELPERS) || defined(PLATFORM_UNIX)
//
// Return address hijacking
//
@@ -321,6 +323,7 @@ COOP_PINVOKE_HELPER(void, RhpGcStressHijackByref, ())
{
ASSERT_UNCONDITIONALLY("NYI");
}
+#endif // defined(USE_PORTABLE_HELPERS) || defined(PLATFORM_UNIX)
#ifdef USE_PORTABLE_HELPERS