-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add command line flag to enable debug info in proof trace (#4483)
This PR adds a flag to `kompile` which propogates the effect of a lower-level flag to `llvm-kompile` which assists with debugging the proof hints that are created. Co-authored-by: rv-jenkins <[email protected]>
- Loading branch information
1 parent
af48618
commit 137574d
Showing
10 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
k-distribution/tests/regression-new/proof-instrumentation-debug/.gitignore
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
out.hint |
11 changes: 11 additions & 0 deletions
11
k-distribution/tests/regression-new/proof-instrumentation-debug/Makefile
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
DEF=test | ||
EXT=test | ||
TESTDIR=. | ||
KOMPILE_BACKEND=llvm | ||
KOMPILE_FLAGS+=--gen-glr-bison-parser --llvm-proof-hint-debugging | ||
KRUN_FLAGS=--proof-hint | ||
|
||
include ../../../include/kframework/ktest.mak | ||
|
||
clean: | ||
rm -rf out.hint test.kore $(KOMPILED_DIR) .depend-tmp .depend .kompile-* .krun-* .kprove-* kore-exec.tar.gz |
1 change: 1 addition & 0 deletions
1
k-distribution/tests/regression-new/proof-instrumentation-debug/input.test
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
foo() |
Binary file added
BIN
+1.49 KB
k-distribution/tests/regression-new/proof-instrumentation-debug/input.test.out
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
k-distribution/tests/regression-new/proof-instrumentation-debug/test.k
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) Runtime Verification, Inc. All Rights Reserved. | ||
module TEST-SYNTAX | ||
syntax Foo ::= foo() | bar() | ||
endmodule | ||
|
||
module TEST | ||
imports TEST-SYNTAX | ||
rule foo() => bar() | ||
endmodule |
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
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