File tree Expand file tree Collapse file tree 2 files changed +28
-16
lines changed
intTests/test_stack_traces Expand file tree Collapse file tree 2 files changed +28
-16
lines changed Original file line number Diff line number Diff line change 44 just llvm_stack
55Stack trace:
66 (builtin) in llvm_stack
7- trace004.saw:15:32 -15:42 in (callback)
7+ trace004.saw:15:39 -15:49 in (callback)
88 (builtin) in llvm_verify
9- trace004.saw:15:1-15:45 (at top level)
9+ trace004.saw:15:8-15:52 in (callback)
10+ (builtin) in fails
11+ trace004.saw:15:1-15:52 (at top level)
12+
13+ == Anticipated failure message ==
14+ Stack trace:
15+ (builtin) in llvm_verify
16+ trace004.saw:15:8-15:52 in (callback)
17+ (builtin) in fails
18+ trace004.saw:15:1-15:52 (at top level)
19+ Missing llvm_execute_func specification when verifying foo
1020
11- Verifying foo...
12- Simulating foo...
13- Checking proof obligations foo...
14- Proof succeeded! foo
1521
1622 ------------------------------------------------------------
1723 llvm_stack via let
1824Stack trace:
1925 (builtin) in llvm_stack
2026 trace004.saw:22:13-22:23 in spec0
21- trace004.saw:23:32 -23:37 in (callback)
27+ trace004.saw:23:39 -23:44 in (callback)
2228 (builtin) in llvm_verify
23- trace004.saw:23:1-23:40 (at top level)
29+ trace004.saw:23:8-23:47 in (callback)
30+ (builtin) in fails
31+ trace004.saw:23:1-23:47 (at top level)
32+
33+ == Anticipated failure message ==
34+ Stack trace:
35+ (builtin) in llvm_verify
36+ trace004.saw:23:8-23:47 in (callback)
37+ (builtin) in fails
38+ trace004.saw:23:1-23:47 (at top level)
39+ Missing llvm_execute_func specification when verifying foo
2440
25- Verifying foo...
26- Simulating foo...
27- Checking proof obligations foo...
28- Proof succeeded! foo
2941
3042 ------------------------------------------------------------
3143 do-block
Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ print "";
99
1010
1111// Test just llvm_stack by itself.
12- // This probably should not actually verify, but it does.. .
12+ // This should not actually verify.
1313print "------------------------------------------------------------";
1414print "just llvm_stack";
15- llvm_verify mod "foo" [] false llvm_stack z3;
15+ fails ( llvm_verify mod "foo" [] false llvm_stack z3) ;
1616print "";
1717
1818// Test just llvm_stack via a let-binding.
19- // This probably should not actually verify, but it does.. .
19+ // This should not actually verify.
2020print "------------------------------------------------------------";
2121print "llvm_stack via let";
2222let spec0 = llvm_stack;
23- llvm_verify mod "foo" [] false spec0 z3;
23+ fails ( llvm_verify mod "foo" [] false spec0 z3) ;
2424print "";
2525
2626// Test with an inline do-block.
You can’t perform that action at this time.
0 commit comments