Commit 892c3e98 authored by archblob's avatar archblob Committed by Austin Seipp

Do not copy stack after stack overflow, refix #8435

Summary:
This was reverted in d70b19bf
and is a part of the reason for #10445.

Test Plan: validate

Reviewers: ezyang, simonmar, austin

Reviewed By: simonmar, austin

Subscribers: bgamari, thomie

Differential Revision: https://phabricator.haskell.org/D938

GHC Trac Issues: #8435
parent d20031d4
......@@ -551,6 +551,7 @@ threadStackOverflow (Capability *cap, StgTSO *tso)
// Note [Throw to self when masked], also #767 and #8303.
throwToSelf(cap, tso, (StgClosure *)stackOverflow_closure);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment