about summary refs log tree commit diff
path: root/compiler/rustc_llvm
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-09-19 14:41:18 +1000
committerZalathar <Zalathar@users.noreply.github.com>2025-09-19 14:41:18 +1000
commitb1a9f231fea0459356f751ad6c1704b55f541118 (patch)
treed4f57fe8e4c2e6184fd6d79000cf46ebc70daa45 /compiler/rustc_llvm
parent2f4dfc753fd86c672aa4145940db075a8a149f17 (diff)
downloadrust-b1a9f231fea0459356f751ad6c1704b55f541118.tar.gz
rust-b1a9f231fea0459356f751ad6c1704b55f541118.zip
Use `LLVMDIBuilderGetOrCreateSubrange`
Diffstat (limited to 'compiler/rustc_llvm')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index 64151962321..de79c3e6861 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -1143,12 +1143,6 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateVariable(
 }
 
 extern "C" LLVMMetadataRef
-LLVMRustDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder, int64_t Lo,
-                                     int64_t Count) {
-  return wrap(unwrap(Builder)->getOrCreateSubrange(Lo, Count));
-}
-
-extern "C" LLVMMetadataRef
 LLVMRustDIBuilderGetOrCreateArray(LLVMDIBuilderRef Builder,
                                   LLVMMetadataRef *Ptr, unsigned Count) {
   Metadata **DataValue = unwrap(Ptr);