diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-11-26 15:25:46 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-11-26 15:26:03 +0100 |
| commit | d3ad00094313d6f777b4f44d707ccd457ce342ca (patch) | |
| tree | c898517811511456115c15432413db070ea94a7b /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | f2abf827c128120ed7a874d02973947968c158b8 (diff) | |
| download | rust-d3ad00094313d6f777b4f44d707ccd457ce342ca.tar.gz rust-d3ad00094313d6f777b4f44d707ccd457ce342ca.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 17b0ec4b936..b1ace0033ba 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -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, |
