about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2023-04-02 15:20:00 +0300
committerklensy <klensy@users.noreply.github.com>2023-04-04 15:12:32 +0300
commit0b5f9ac73e087b3728f0fcf53d541d4e80773732 (patch)
tree161de231060cf8af9695a8b053c57be72e75ebe1 /compiler/rustc_codegen_llvm/src/llvm
parent7c96e40da81165beef4f273f44e96eeef5a1bd30 (diff)
downloadrust-0b5f9ac73e087b3728f0fcf53d541d4e80773732.tar.gz
rust-0b5f9ac73e087b3728f0fcf53d541d4e80773732.zip
replace deprecated LLVMSetCurrentDebugLocation with LLVMSetCurrentDebugLocation2
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 0d63e634ad8..a91edd80558 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1250,7 +1250,7 @@ extern "C" {
     pub fn LLVMDisposeBuilder<'a>(Builder: &'a mut Builder<'a>);
 
     // Metadata
-    pub fn LLVMSetCurrentDebugLocation<'a>(Builder: &Builder<'a>, L: &'a Value);
+    pub fn LLVMSetCurrentDebugLocation2<'a>(Builder: &Builder<'a>, Loc: &'a Metadata);
 
     // Terminators
     pub fn LLVMBuildRetVoid<'a>(B: &Builder<'a>) -> &'a Value;