MCPcopy Create free account
hub / github.com/boostorg/stacktrace / is_processing_rethrow

Function is_processing_rethrow

src/from_exception.cpp:65–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool is_processing_rethrow(PEXCEPTION_RECORD p) noexcept {
66 // Processing flow:
67 // 0. throw;
68 // 1. _CxxThrowException(pExceptionObject = nullptr)
69 // 2. VEH & SEH (may throw new c++ exceptions!)
70 // 3. __RethrowException(_pCurrentException)
71 // 4. VEH
72 if (PER_PEXCEPTOBJ(p) == 0) return true;
73 PEXCEPTION_RECORD current_cxx_exception = _pCurrentException;
74 if (current_cxx_exception == nullptr) return false;
75 return PER_PEXCEPTOBJ(p) == PER_PEXCEPTOBJ(current_cxx_exception);
76}
77
78LONG NTAPI veh(PEXCEPTION_POINTERS p) {
79 if (data.capture_stacktraces_at_throw &&

Callers 1

vehFunction · 0.85

Calls 1

PER_PEXCEPTOBJFunction · 0.85

Tested by

no test coverage detected