提交 1ed99811 编写于 作者: M Matt Witherspoon

Don't call backtrace() on WASM fault in WAVM

Docs clearly state this is not a safe call from a signal handler.
上级 0dc8244e
......@@ -278,7 +278,7 @@ namespace Platform
CallStack captureCallStack(Uptr numOmittedFramesFromTop)
{
#if defined __linux__ || defined __FreeBSD__
#if 0
// Unwind the callstack.
enum { maxCallStackSize = signalStackNumBytes / sizeof(void*) / 8 };
void* callstackAddresses[maxCallStackSize];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册