Skip to content

Commit cf3f527

Browse files
committed
flambda-backend: Fix ocaml/testsuite/tests/backtrace/backtrace_systhreads
1 parent 2d6dc04 commit cf3f527

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

testsuite/tests/backtrace/backtrace_systhreads.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include systhreads
77
** native
88
*)
99

10-
let throw_exn msg = failwith msg [@@inline never]
10+
let throw_exn msg = (failwith [@inlined never]) msg [@@inline never]
1111

1212
let thread_func delay =
1313
Thread.yield ();
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
Thread 2 killed on uncaught exception Failure("0")
2-
Raised at Stdlib.failwith in file "stdlib.ml" (inlined), line 34, characters 17-33
3-
Raised by primitive operation at Backtrace_systhreads.throw_exn in file "backtrace_systhreads.ml", line 10, characters 20-32
2+
Raised at Stdlib.failwith in file "stdlib.ml", line 34, characters 17-33
43
Called from Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 14, characters 6-37
54
Re-raised at Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 18, characters 5-14
65
Called from Thread.create.(fun) in file "thread.ml", line 51, characters 8-14
76
Thread 3 killed on uncaught exception Failure("1")
8-
Raised at Stdlib.failwith in file "stdlib.ml" (inlined), line 34, characters 17-33
9-
Raised by primitive operation at Backtrace_systhreads.throw_exn in file "backtrace_systhreads.ml", line 10, characters 20-32
7+
Raised at Stdlib.failwith in file "stdlib.ml", line 34, characters 17-33
108
Called from Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 14, characters 6-37
119
Re-raised at Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 18, characters 5-14
1210
Called from Thread.create.(fun) in file "thread.ml", line 51, characters 8-14
1311
Thread 4 killed on uncaught exception Failure("2")
14-
Raised at Stdlib.failwith in file "stdlib.ml" (inlined), line 34, characters 17-33
15-
Raised by primitive operation at Backtrace_systhreads.throw_exn in file "backtrace_systhreads.ml", line 10, characters 20-32
12+
Raised at Stdlib.failwith in file "stdlib.ml", line 34, characters 17-33
1613
Called from Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 14, characters 6-37
1714
Re-raised at Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 18, characters 5-14
1815
Called from Thread.create.(fun) in file "thread.ml", line 51, characters 8-14
1916
Thread 5 killed on uncaught exception Failure("3")
20-
Raised at Stdlib.failwith in file "stdlib.ml" (inlined), line 34, characters 17-33
21-
Raised by primitive operation at Backtrace_systhreads.throw_exn in file "backtrace_systhreads.ml", line 10, characters 20-32
17+
Raised at Stdlib.failwith in file "stdlib.ml", line 34, characters 17-33
2218
Called from Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 14, characters 6-37
2319
Re-raised at Backtrace_systhreads.thread_func in file "backtrace_systhreads.ml", line 18, characters 5-14
2420
Called from Thread.create.(fun) in file "thread.ml", line 51, characters 8-14
2521
Thread 1 killed on uncaught exception Failure("backtrace")
26-
Raised at Stdlib.failwith in file "stdlib.ml" (inlined), line 34, characters 17-33
27-
Raised by primitive operation at Backtrace_systhreads.throw_exn in file "backtrace_systhreads.ml", line 10, characters 20-32
22+
Raised at Stdlib.failwith in file "stdlib.ml", line 34, characters 17-33
2823
Called from Backtrace_systhreads.thread_backtrace in file "backtrace_systhreads.ml", line 22, characters 6-27
2924
Re-raised at Backtrace_systhreads.thread_backtrace in file "backtrace_systhreads.ml", line 26, characters 5-14
3025
Called from Thread.create.(fun) in file "thread.ml", line 51, characters 8-14

0 commit comments

Comments
 (0)