Use default LLVM lib directory when resuming a proof without recompilation - #1095
Open
jberthold wants to merge 3 commits into
Open
Use default LLVM lib directory when resuming a proof without recompilation#1095jberthold wants to merge 3 commits into
jberthold wants to merge 3 commits into
Conversation
…ation Since the definition is not recompiled any more for specific programs with the LLVM backend, the `KompiledSymbolic` class always uses the standard LLVM backend library from the semantics.precompiled definition. The execution path for reloading a proof without having to re-process the definition.kore was still using a custom value where the compiled LLVM backend library was previously stored. To reproduce the bug: 1. Run a proof: `kmir prove my_program.rs --proof-dir fubar` 2. Re-run the proof (without `--reload`, same command as above) The parameter for the LLVM backend library in `KompiledSymbolic` is maybe still used in other contexts but could be omitted for this use.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since the definition is not recompiled any more for specific programs with the LLVM backend, the
KompiledSymbolicclass always uses the standard LLVM backend library from the semantics.precompiled definition. The execution path for reloading a proof without having to re-process the definition.kore was still using a custom value where the compiled LLVM backend library was previously stored.To reproduce the bug:
kmir prove my_program.rs --proof-dir fubar--reload, same command as above)The parameter for the LLVM backend library in
KompiledSymbolicis maybe still used in other contexts but could be omitted for this use.