Respect verify-llvm-ir option in the backend
We are currently unconditionally verifying the LLVM IR in the backend (twice), ignoring the value of the verify-llvm-ir option.
This commit is contained in:
parent
f2abf827c1
commit
d3ad000943
3 changed files with 8 additions and 3 deletions
|
@ -2240,6 +2240,7 @@ unsafe extern "C" {
|
|||
Output: *const c_char,
|
||||
DwoOutput: *const c_char,
|
||||
FileType: FileType,
|
||||
VerifyIR: bool,
|
||||
) -> LLVMRustResult;
|
||||
pub fn LLVMRustOptimize<'a>(
|
||||
M: &'a Module,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue