-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Add breadcrumbs to Thread.t
As identified in #208, the deterministic order option is not deterministic across architectures. A likely culprit is the use of the polymorphic compare function which may not give the same result in different environments or on different targets. This commit resolves this by keeping track of each choice made ('select') through "breadcrumbs" and sorting results on these breadcrumbs. Closes: #208
Showing
4 changed files
with
25 additions
and
7 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
table stuff: | ||
$ owi sym table.wat --deterministic-result-order | ||
Trap: undefined element | ||
Trap: unreachable | ||
Model: | ||
(model | ||
(symbol_0 (i32 0)) | ||
(symbol_1 (i32 -2147483648))) | ||
Trap: unreachable | ||
(symbol_1 (i32 0))) | ||
Trap: undefined element | ||
Model: | ||
(model | ||
(symbol_0 (i32 0)) | ||
(symbol_1 (i32 0))) | ||
(symbol_1 (i32 -2147483648))) | ||
Reached 2 problems! | ||
[13] |