-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into _update-deps/runtimeverification/llvm-bac…
…kend
- Loading branch information
Showing
7 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
k-distribution/tests/regression-new/proof-instrumentation/.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 |
22 changes: 22 additions & 0 deletions
22
k-distribution/tests/regression-new/proof-instrumentation/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,22 @@ | ||
DEF=test | ||
KOMPILE_BACKEND=llvm | ||
KOMPILE_FLAGS+=--gen-glr-bison-parser --llvm-proof-hint-instrumentation | ||
LLVM_KRUN_FLAGS=-d ./test-kompiled --proof-hints | ||
|
||
check: out.hint | ||
head -c4 out.hint | diff - <(echo -n 'HINT') | ||
|
||
out.hint: test.kore | ||
rm -f $@ | ||
$(LLVM_KRUN) $(LLVM_KRUN_FLAGS) \ | ||
-c PGM $< Foo korefile -o $@ | ||
|
||
test.kore: test.in kompile | ||
./test-kompiled/parser_PGM $< > $@ | ||
|
||
include ../../../include/kframework/ktest.mak | ||
|
||
clean: | ||
rm -rf out.hint test.kore $(KOMPILED_DIR) .depend-tmp .depend .kompile-* .krun-* .kprove-* kore-exec.tar.gz | ||
|
||
update-results: CHECK=> test.out |
1 change: 1 addition & 0 deletions
1
k-distribution/tests/regression-new/proof-instrumentation/test.in
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() |
9 changes: 9 additions & 0 deletions
9
k-distribution/tests/regression-new/proof-instrumentation/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) K Team. 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