about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorDianQK <dianqk@dianqk.net>2024-08-29 18:12:31 +0800
committerDianQK <dianqk@dianqk.net>2024-08-29 18:12:31 +0800
commit9589eb95d2872337e932c8b5dc26bdb5cb3dc15b (patch)
treee711a79c37a3af29fc2f9479b788dfe57f6321a9 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parentc9bd03cb724e13cca96ad320733046cbdb16fbbe (diff)
downloadrust-9589eb95d2872337e932c8b5dc26bdb5cb3dc15b.tar.gz
rust-9589eb95d2872337e932c8b5dc26bdb5cb3dc15b.zip
Add `-Zlint-llvm-ir`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
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 80b13c0e1d4..579ec517cf0 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2217,6 +2217,7 @@ extern "C" {
         IsLinkerPluginLTO: bool,
         NoPrepopulatePasses: bool,
         VerifyIR: bool,
+        LintIR: bool,
         UseThinLTOBuffers: bool,
         MergeFunctions: bool,
         UnrollLoops: bool,