| 115 | } |
| 116 | |
| 117 | [[noreturn]] void Fault::emitFault(ErrCode Error) { |
| 118 | assuming(localHandler != nullptr); |
| 119 | auto Buffer = stackTrace(localHandler->StackTraceBuffer); |
| 120 | localHandler->StackTraceSize = Buffer.size(); |
| 121 | longjmp(localHandler->Buffer, static_cast<int>(Error.operator uint32_t())); |
| 122 | } |
| 123 | |
| 124 | } // namespace WasmEdge |
nothing calls this directly
no test coverage detected