Skip to content

Commit

Permalink
Add -opaque-pointers flag to lli
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaAhmad00 committed Oct 24, 2023
1 parent 8de3a4f commit bc0223d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ pub fn interpret_llvm_ir(ir: &str) -> i32 {
ir_file.write_all(ir.as_bytes()).unwrap();

let mut output = Command::new("lli")
.arg("-opaque-pointers")
.arg(&ir_path)
.output()
.expect("Failed to compile generated code");
Expand Down

0 comments on commit bc0223d

Please sign in to comment.