- improve the stack trace when the jit is active
This commit is contained in:
parent
64bfb1b905
commit
27ecae265d
5 changed files with 120 additions and 7 deletions
|
|
@ -658,7 +658,11 @@ CVMAbortException::CVMAbortException(EVMAbortException reason, const char *morei
|
|||
size_t len = strlen(m_Message);
|
||||
myvsnprintf(m_Message + len, MAX_ERRORTEXT - len, moreinfo, ap);
|
||||
}
|
||||
stacktrace = "";
|
||||
|
||||
if (vm_jit)
|
||||
stacktrace = JitCaptureStackTrace();
|
||||
else
|
||||
stacktrace = "";
|
||||
}
|
||||
|
||||
// Print this only once on the first catch block.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue