Skip to content

Commit

Permalink
Merge branch 'develop' into _update-deps/runtimeverification/haskell-…
Browse files Browse the repository at this point in the history
…backend
  • Loading branch information
jberthold authored Oct 17, 2024
2 parents d8c7beb + 82039ee commit 27fcc0f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
8 changes: 4 additions & 4 deletions k-distribution/include/kframework/builtin/domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -1366,10 +1366,10 @@ module INT-SYMBOLIC [symbolic]
rule X %Int N => X requires 0 <=Int X andBool X <Int N [simplification]
// Bit-shifts
rule X <<Int 0 => X [simplification]
rule 0 <<Int _ => 0 [simplification]
rule X >>Int 0 => X [simplification]
rule 0 >>Int _ => 0 [simplification]
rule X <<Int 0 => X [simplification, preserves-definedness]
rule 0 <<Int Y => 0 requires 0 <=Int Y [simplification, preserves-definedness]
rule X >>Int 0 => X [simplification, preserves-definedness]
rule 0 >>Int Y => 0 requires 0 <=Int Y [simplification, preserves-definedness]
endmodule
module INT-SYMBOLIC-KORE [symbolic, haskell]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ private void llvmKompile(String type, String executable) {
if (options.llvmMutableBytes) {
args.add("--mutable-bytes");
}
if (options.llvmHiddenVisibility) {
args.add("--hidden-visibility");
}

if (options.debug) {
args.add("-g");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,10 @@ public List<String> convert(String str) {
description = "Use a faster, unsound representation for byte arrays on the LLVM backend",
hidden = true)
public boolean llvmMutableBytes;

@Parameter(
names = "--llvm-hidden-visibility",
description = "Build the llvm backend with -fvisibility=hidden",
hidden = true)
public boolean llvmHiddenVisibility;
}

0 comments on commit 27fcc0f

Please sign in to comment.