Skip to content

Commit

Permalink
Fix for aarch
Browse files Browse the repository at this point in the history
  • Loading branch information
ladisgin committed Mar 12, 2023
1 parent 6e7a91f commit ea5f2ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/klee/Support/ModuleUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ linkModules(std::vector<std::unique_ptr<llvm::Module>> &modules,
}

#else
#define addFunctionReplacement(from, to) {#from "f", #to "f"}, {#from, #to},
#define addFunctionReplacement(from, to) {#from "f", #to "f"}, {#from, #to}

#define addIntrinsicReplacement(from, to) \
{"llvm." #from ".f32", #to "f"}, {"llvm." #from ".f64", #to},
{"llvm." #from ".f32", #to "f"}, {"llvm." #from ".f64", #to}

#endif

Expand Down
2 changes: 1 addition & 1 deletion lib/Solver/Z3Solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ SolverImpl::SolverRunStatus Z3SolverImpl::handleSolverResponse(
assert(Z3_get_ast_kind(builder->ctx, arrayElementOffsetExpr) ==
Z3_NUMERAL_AST &&
"Evaluated size expression has wrong sort");
size_t concretizedOffsetValue = 0;
uint64_t concretizedOffsetValue = 0;
assert(Z3_get_numeral_uint64(builder->ctx, arrayElementOffsetExpr,
&concretizedOffsetValue) &&
"Failed to get size");
Expand Down

0 comments on commit ea5f2ac

Please sign in to comment.