diff options
author | Alexandre Teoi <ateoi@users.noreply.github.com> | 2018-02-21 20:32:46 -0300 |
---|---|---|
committer | Dan Moseley <danmose@microsoft.com> | 2018-02-21 15:32:46 -0800 |
commit | ba1d5b2de899bf6e09702f70c28e85b527bd1ea9 (patch) | |
tree | 194d624f6af3e767f81eebcc3a58992183b10ee9 /src/vm/excep.cpp | |
parent | 17541a4655715b68219ca974a07af5e6a985acb1 (diff) | |
download | coreclr-ba1d5b2de899bf6e09702f70c28e85b527bd1ea9.tar.gz coreclr-ba1d5b2de899bf6e09702f70c28e85b527bd1ea9.tar.bz2 coreclr-ba1d5b2de899bf6e09702f70c28e85b527bd1ea9.zip |
Show the expected stack trace from a rethrown exception. (#16464)
* Show the expected stack trace from a rethrown exception.
Fix #15780
* Remove now unused methods
- StackTraceArray::AppendSkipLast
- StackTraceElement::PartiallyEqual
- StackTraceElement::PartialAtomicUpdate
Diffstat (limited to 'src/vm/excep.cpp')
-rw-r--r-- | src/vm/excep.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vm/excep.cpp b/src/vm/excep.cpp index 35a207457c..09283f7839 100644 --- a/src/vm/excep.cpp +++ b/src/vm/excep.cpp @@ -2428,9 +2428,7 @@ void StackTraceInfo::SaveStackTrace(BOOL bAllowAllocMem, OBJECTHANDLE hThrowable } } - if (bSkipLastElement && gc.stackTrace.Size() != 0) - gc.stackTrace.AppendSkipLast(m_pStackTrace, m_pStackTrace + m_dFrameCount); - else + if (!bSkipLastElement) gc.stackTrace.Append(m_pStackTrace, m_pStackTrace + m_dFrameCount); ////////////////////////////// |