diff options
| author | DianQK <dianqk@dianqk.net> | 2024-11-17 14:21:23 +0800 |
|---|---|---|
| committer | DianQK <dianqk@dianqk.net> | 2025-02-23 21:23:36 +0800 |
| commit | 1a99ca8da98061a52b9b429d1a859b1e1475cae9 (patch) | |
| tree | 6f1526de049f85312b54d6b24c78ebb303665d31 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 1805b3348341e0918912ab61cb1dffad41648d23 (diff) | |
| download | rust-1a99ca8da98061a52b9b429d1a859b1e1475cae9.tar.gz rust-1a99ca8da98061a52b9b429d1a859b1e1475cae9.zip | |
The embedded bitcode should always be prepared for LTO/ThinLTO
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 3b0187b9d37..ac91a416edc 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -2421,7 +2421,9 @@ unsafe extern "C" { NoPrepopulatePasses: bool, VerifyIR: bool, LintIR: bool, - UseThinLTOBuffers: bool, + ThinLTOBuffer: Option<&mut *mut ThinLTOBuffer>, + EmitThinLTO: bool, + EmitThinLTOSummary: bool, MergeFunctions: bool, UnrollLoops: bool, SLPVectorize: bool, |
