This restores ability to chain std::set_terminate handlers on Windows by passing MSVC C++ runtime exceptions using their 0xE06D7363 system code back to original handler that will later call backward-cpp's terminator.
Without this other std::set_terminate handlers were blocked when using backward-cpp.
Accompanying example below. Running test.exe ex shows that custom termination handler is now effective and rethrowing prints proper stack trace.
This restores ability to chain std::set_terminate handlers on Windows by passing MSVC C++ runtime exceptions using their
0xE06D7363
system code back to original handler that will later call backward-cpp's terminator.Without this other
std::set_terminate
handlers were blocked when using backward-cpp.Accompanying example below. Running
test.exe ex
shows that custom termination handler is now effective and rethrowing prints proper stack trace.