diff options
author | Sean Gillespie <sean@swgillespie.me> | 2017-03-23 18:40:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 18:40:56 -0700 |
commit | b04644c55ae003bd1c6c8fefe33d5dfe6ef240f0 (patch) | |
tree | 5967ea1286025fd97449f6aa1f42662be7173701 /src/gc/gcenv.ee.standalone.inl | |
parent | c5bfdd98204d7cb265f633534d593ca9c008ca6b (diff) | |
download | coreclr-b04644c55ae003bd1c6c8fefe33d5dfe6ef240f0.tar.gz coreclr-b04644c55ae003bd1c6c8fefe33d5dfe6ef240f0.tar.bz2 coreclr-b04644c55ae003bd1c6c8fefe33d5dfe6ef240f0.zip |
[Local GC] Redirect fatal errors to the EE (#10436)
* [Local GC] Redirect fatal errors to the EE
* Address code review feedback: don't fetch the IP when reporting a fatal error
Diffstat (limited to 'src/gc/gcenv.ee.standalone.inl')
-rw-r--r-- | src/gc/gcenv.ee.standalone.inl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gc/gcenv.ee.standalone.inl b/src/gc/gcenv.ee.standalone.inl index 31f3d1d8da..c391ef8126 100644 --- a/src/gc/gcenv.ee.standalone.inl +++ b/src/gc/gcenv.ee.standalone.inl @@ -207,6 +207,12 @@ ALWAYS_INLINE void GCToEEInterface::EnableFinalization(bool foundFinalizers) g_theGCToCLR->EnableFinalization(foundFinalizers); } +ALWAYS_INLINE void GCToEEInterface::HandleFatalError(unsigned int exitCode) +{ + assert(g_theGCToCLR != nullptr); + g_theGCToCLR->HandleFatalError(exitCode); +} + #undef ALWAYS_INLINE #endif // __GCTOENV_EE_STANDALONE_INL__ |