Skip to content

Commit ea1674c

Browse files
committed
flambda-backend: Remove unnecessary backtraces from lib-dynlink-initializers/test10
1 parent bc60136 commit ea1674c

File tree

3 files changed

+1
-26
lines changed

3 files changed

+1
-26
lines changed
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
11
Error: Failure("Plugin error")
2-
Raised at Stdlib.failwith in file "stdlib.ml", line 34, characters 17-33
3-
Called from Test10_plugin.g in file "test10_plugin.ml", line 3, characters 2-21
4-
Called from Test10_plugin.f in file "test10_plugin.ml", line 6, characters 2-6
5-
Called from Test10_plugin in file "test10_plugin.ml", line 10, characters 2-6
6-
Called from Dynlink_internal_byte.Bytecode.run in file "otherlibs/dynlink/dynlink.ml", line 159, characters 16-25
7-
Re-raised at Dynlink_internal_byte.Bytecode.run in file "otherlibs/dynlink/dynlink.ml", line 161, characters 6-137
8-
Called from Dynlink_common.Make.load.(fun) in file "otherlibs/dynlink/dynlink_common.ml", line 367, characters 13-72
9-
Called from Stdlib__List.iter in file "list.ml", line 116, characters 12-15
10-
Called from Dynlink_common.Make.load in file "otherlibs/dynlink/dynlink_common.ml", line 363, characters 8-408
11-
Re-raised at Dynlink_common.Make.load in file "otherlibs/dynlink/dynlink_common.ml", line 376, characters 8-17
12-
Called from Test10_main in file "test10_main.ml", line 51, characters 13-69

testsuite/tests/lib-dynlink-initializers/test10_main.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,4 @@ let () =
5353
end
5454
with
5555
| Dynlink.Error (Dynlink.Library's_module_initializers_failed exn) ->
56-
Printf.eprintf "Error: %s\n%!" (Printexc.to_string exn);
57-
Printexc.print_backtrace stderr
56+
Printf.eprintf "Error: %s\n%!" (Printexc.to_string exn)
Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1 @@
11
Error: Failure("Plugin error")
2-
Raised at Stdlib.failwith in file "stdlib.ml", line 34, characters 17-33
3-
Called from Test10_plugin.g in file "test10_plugin.ml" (inlined), line 2, characters 15-38
4-
Called from Test10_plugin.f in file "test10_plugin.ml", line 6, characters 2-6
5-
Called from Test10_plugin in file "test10_plugin.ml", line 10, characters 2-6
6-
Called from Dynlink_internal_native.Native.ndl_run in file "otherlibs/dynlink/dynlink.ml", line 112, characters 8-25
7-
Called from Dynlink_internal_native.Native.ndl_run in file "otherlibs/dynlink/dynlink.ml", line 112, characters 8-25
8-
Re-raised at Dynlink_internal_native.Native.ndl_run in file "otherlibs/dynlink/dynlink.ml", line 124, characters 6-137
9-
Called from Stdlib__List.iter in file "list.ml", line 116, characters 12-15
10-
Called from Dynlink_common.Make.load.(fun) in file "otherlibs/dynlink/dynlink_common.ml", line 367, characters 13-72
11-
Called from Stdlib__List.iter in file "list.ml", line 116, characters 12-15
12-
Called from Dynlink_common.Make.load in file "otherlibs/dynlink/dynlink_common.ml", line 363, characters 8-408
13-
Re-raised at Dynlink_common.Make.load in file "otherlibs/dynlink/dynlink_common.ml", line 376, characters 8-17
14-
Called from Test10_main in file "test10_main.ml", line 49, characters 30-87

0 commit comments

Comments
 (0)