about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-02-01 13:50:01 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-02-01 14:14:40 +1100
commit70d41bc7110ed05c8befb65403b028e1fbaf2c5a (patch)
tree7965a79da5c210c22841e0e63c8d9f9b52c18658 /compiler/rustc_codegen_llvm/src/debuginfo
parent878ab125a107d8f8036cc41a2db6abcb68996226 (diff)
downloadrust-70d41bc7110ed05c8befb65403b028e1fbaf2c5a.tar.gz
rust-70d41bc7110ed05c8befb65403b028e1fbaf2c5a.zip
Use `LLVMDIBuilderCreateLexicalBlock`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs b/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs
index 11eb9651af6..f52991b3697 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs
@@ -127,7 +127,7 @@ fn make_mir_scope<'ll, 'tcx>(
             })
         }
         None => unsafe {
-            llvm::LLVMRustDIBuilderCreateLexicalBlock(
+            llvm::LLVMDIBuilderCreateLexicalBlock(
                 DIB(cx),
                 parent_scope.dbg_scope,
                 file_metadata,