Skip to content

Commit

Permalink
prevent access violation in LLVMParseCommandlineOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarning committed Oct 13, 2024
1 parent ace37d5 commit c60382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvaf/llvm/src/initialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ unsafe fn configure_llvm(cg_opts: &[String], tg_opts: &[String]) {
LLVMParseCommandLineOptions(
llvm_args.len() as c_int,
llvm_args.as_ptr(),
b"".as_ptr() as *const c_char,
b"A Verilog-A compiler".as_ptr() as *const c_char,
);
}

Expand Down

0 comments on commit c60382d

Please sign in to comment.