Skip to content

Commit

Permalink
Add references to ARM's machine model
Browse files Browse the repository at this point in the history
  • Loading branch information
adpaco-aws authored Sep 12, 2023
1 parent 6c87e4e commit c7f7d2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,9 @@ fn new_machine_model(sess: &Session) -> MachineModel {
let long_long_int_width = 64;
let short_int_width = 16;
let single_width = 32;
// https://developer.arm.com/documentation/dui0491/i/Compiler-Command-line-Options/--signed-chars----unsigned-chars
// https://www.arm.linux.org.uk/docs/faqs/signedchar.php
// https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms
let wchar_t_is_unsigned = matches!(os.as_ref(), "linux");
let wchar_t_width = 32;

Expand Down

0 comments on commit c7f7d2f

Please sign in to comment.