Skip to content

Use default LLVM lib directory when resuming a proof without recompilation - #1095

Open
jberthold wants to merge 3 commits into
masterfrom
HOTFIX-llvm-lib-dir-when-resuming-proof
Open

Use default LLVM lib directory when resuming a proof without recompilation#1095
jberthold wants to merge 3 commits into
masterfrom
HOTFIX-llvm-lib-dir-when-resuming-proof

Conversation

@jberthold

Copy link
Copy Markdown
Collaborator

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.

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant