-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Error stacks are non-deterministic across runs, as optimizations can change the code structure (e.g. via inlining). Intercept calls to `Error.stack` and redirect them through a `HostFunction`, capturing the stack string in the trace and returning it in place of whatever stack exists during replay. Reviewed By: neildhar Differential Revision: D60306418 fbshipit-source-id: a0aac7c18f8e64ca451a343767c5bb41870e203a
- Loading branch information
1 parent
2dde8b0
commit 73cb666
Showing
2 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters