about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-31 07:38:55 +0000
committerGitHub <noreply@github.com>2024-10-31 07:38:55 +0000
commit6630802a1a6f09f9e07ee4113da3414e5e275972 (patch)
treeffc6f5b6daffb4d56ff7c1637b508581b27afe2b /compiler/rustc_codegen_llvm/src/allocator.rs
parent445a340af3a5feb30022103db51b3fbdf3e0c863 (diff)
parentb8bd7becb419084397adc6b797136c20046fdacb (diff)
downloadrust-6630802a1a6f09f9e07ee4113da3414e5e275972.tar.gz
rust-6630802a1a6f09f9e07ee4113da3414e5e275972.zip
Merge pull request #4005 from rust-lang/rustup-2024-10-31
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/allocator.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/allocator.rs b/compiler/rustc_codegen_llvm/src/allocator.rs
index a2e6c7eb856..149ded28356 100644
--- a/compiler/rustc_codegen_llvm/src/allocator.rs
+++ b/compiler/rustc_codegen_llvm/src/allocator.rs
@@ -154,7 +154,7 @@ fn create_wrapper_function(
             .enumerate()
             .map(|(i, _)| llvm::LLVMGetParam(llfn, i as c_uint))
             .collect::<Vec<_>>();
-        let ret = llvm::LLVMRustBuildCall(
+        let ret = llvm::LLVMBuildCallWithOperandBundles(
             llbuilder,
             ty,
             callee,
@@ -162,6 +162,7 @@ fn create_wrapper_function(
             args.len() as c_uint,
             [].as_ptr(),
             0 as c_uint,
+            c"".as_ptr(),
         );
         llvm::LLVMSetTailCall(ret, True);
         if output.is_some() {