summaryrefslogtreecommitdiff
path: root/src/classlibnative/bcltype/system.h
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2018-02-03 15:58:22 -0800
committerGitHub <noreply@github.com>2018-02-03 15:58:22 -0800
commitc247f5bffa563820fe8db6fa14b42024c57c540f (patch)
treeabfbf9d4e88979b94f69a66befcbed2bb05115d9 /src/classlibnative/bcltype/system.h
parent72a6196896b335a5737ad1eeb042fcef8ca98239 (diff)
downloadcoreclr-c247f5bffa563820fe8db6fa14b42024c57c540f.tar.gz
coreclr-c247f5bffa563820fe8db6fa14b42024c57c540f.tar.bz2
coreclr-c247f5bffa563820fe8db6fa14b42024c57c540f.zip
Fix failfast stacktrace (#15895)
* attempt to fix stacktrace getting printed twice * Fix some default parameter issues, and wrong commit from last commit * Fix build errors, switch call from Debug.Assert to new FailFast FCall * Fix signature to allow more types of exception title * cleanup * Addressing comments from PR * More PR comments * remove useless using * Address comments on GC hole and few naming changes
Diffstat (limited to 'src/classlibnative/bcltype/system.h')
-rw-r--r--src/classlibnative/bcltype/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/classlibnative/bcltype/system.h b/src/classlibnative/bcltype/system.h
index 87dde89bcd..6a489bae62 100644
--- a/src/classlibnative/bcltype/system.h
+++ b/src/classlibnative/bcltype/system.h
@@ -55,6 +55,7 @@ public:
static FCDECL1(VOID, FailFast, StringObject* refMessageUNSAFE);
static FCDECL2(VOID, FailFastWithExitCode, StringObject* refMessageUNSAFE, UINT exitCode);
static FCDECL2(VOID, FailFastWithException, StringObject* refMessageUNSAFE, ExceptionObject* refExceptionUNSAFE);
+ static FCDECL3(VOID, FailFastWithExceptionAndSource, StringObject* refMessageUNSAFE, ExceptionObject* refExceptionUNSAFE, StringObject* errorSourceUNSAFE);
static FCDECL0(StringObject*, _GetModuleFileName);
static FCDECL0(StringObject*, GetRuntimeDirectory);
@@ -75,7 +76,7 @@ public:
private:
// Common processing code for FailFast
- static void GenericFailFast(STRINGREF refMesgString, EXCEPTIONREF refExceptionForWatsonBucketing, UINT_PTR retAddress, UINT exitCode);
+ static void GenericFailFast(STRINGREF refMesgString, EXCEPTIONREF refExceptionForWatsonBucketing, UINT_PTR retAddress, UINT exitCode, STRINGREF errorSource);
};
/* static */