diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-09-16 18:37:23 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-09-17 12:28:08 +1000 |
| commit | bef8f646a632215c362ee45d88d2390e47e65d4c (patch) | |
| tree | e64e0faa9adaa3d9dabaa28b541c0d38272b8cd1 /compiler/rustc_llvm | |
| parent | 2552deb9cd84b3bebaec98902d9d42bee2315822 (diff) | |
| download | rust-bef8f646a632215c362ee45d88d2390e47e65d4c.tar.gz rust-bef8f646a632215c362ee45d88d2390e47e65d4c.zip | |
Use `LLVMDIBuilderCreateArrayType`
Diffstat (limited to 'compiler/rustc_llvm')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 2cbfcf79c83..d5be7aeb236 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1212,15 +1212,6 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateVariable( } extern "C" LLVMMetadataRef -LLVMRustDIBuilderCreateArrayType(LLVMDIBuilderRef Builder, uint64_t Size, - uint32_t AlignInBits, LLVMMetadataRef Ty, - LLVMMetadataRef Subscripts) { - return wrap(unwrap(Builder)->createArrayType( - Size, AlignInBits, unwrapDI<DIType>(Ty), - DINodeArray(unwrapDI<MDTuple>(Subscripts)))); -} - -extern "C" LLVMMetadataRef LLVMRustDIBuilderGetOrCreateSubrange(LLVMDIBuilderRef Builder, int64_t Lo, int64_t Count) { return wrap(unwrap(Builder)->getOrCreateSubrange(Lo, Count)); |
