diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-01 13:38:12 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-01 13:38:12 +1100 |
| commit | cd2af2dd9a82b564fd74f7d2b7876c120812f6ba (patch) | |
| tree | aa1ce9a7c88266423f15e0cc0d592b82b0d98fd3 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 832fcfb64fdf47714b181bc29f2d93cb5a3383f4 (diff) | |
| download | rust-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.cpp | 4 |
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, |
