about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-02-01 13:38:12 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-02-01 13:38:12 +1100
commitcd2af2dd9a82b564fd74f7d2b7876c120812f6ba (patch)
treeaa1ce9a7c88266423f15e0cc0d592b82b0d98fd3 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent832fcfb64fdf47714b181bc29f2d93cb5a3383f4 (diff)
downloadrust-cd2af2dd9a82b564fd74f7d2b7876c120812f6ba.tar.gz
rust-cd2af2dd9a82b564fd74f7d2b7876c120812f6ba.zip
Use `LLVMDIBuilderFinalize`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index 7ff316ba83a..6c5bfc1ac78 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -1003,10 +1003,6 @@ extern "C" void LLVMRustDIBuilderDispose(LLVMDIBuilderRef Builder) {
   delete unwrap(Builder);
 }
 
-extern "C" void LLVMRustDIBuilderFinalize(LLVMDIBuilderRef Builder) {
-  unwrap(Builder)->finalize();
-}
-
 extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateCompileUnit(
     LLVMDIBuilderRef Builder, unsigned Lang, LLVMMetadataRef FileRef,
     const char *Producer, size_t ProducerLen, bool isOptimized,