File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,8 @@ namespace detail {
4040 #if defined(_MSC_VER) && defined(CPPTRACE_UNWIND_WITH_EXCEPTION_POINTERS)
4141 CPPTRACE_FORCE_NO_INLINE void collect_current_trace (std::size_t skip, EXCEPTION_POINTERS* exception_ptrs) {
4242 try {
43- #if defined(_M_IX86) || defined(__i386__)
44- (void )skip; // don't skip any frames, the context record is at the throw point
45- auto trace = raw_trace{detail::capture_frames (0 , SIZE_MAX, exception_ptrs)};
46- #else
47- (void )exception_ptrs;
48- auto trace = raw_trace{detail::capture_frames (skip + 1 , SIZE_MAX)};
49- #endif
43+ (void )skip; // don't skip any frames, the context record is at the throw point
44+ auto trace = raw_trace{detail::capture_frames (0 , SIZE_MAX, exception_ptrs)};
5045 save_current_trace (std::move (trace));
5146 } catch (...) {
5247 detail::log_and_maybe_propagate_exception (std::current_exception ());
You can’t perform that action at this time.
0 commit comments