diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-09-16 20:09:34 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-09-17 12:28:08 +1000 |
| commit | bae6fde27057c4b8fe216eb39a4ba6867aeeb8fb (patch) | |
| tree | ecff7d81b542a4d17250ba601953a1ada057244d /compiler/rustc_llvm | |
| parent | 3e9048d9a47bb9db2b95adda85cd544a30bfcb8a (diff) | |
| download | rust-bae6fde27057c4b8fe216eb39a4ba6867aeeb8fb.tar.gz rust-bae6fde27057c4b8fe216eb39a4ba6867aeeb8fb.zip | |
Use `LLVMDIBuilderCreatePointerType`
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 80d3db3b99d..e6be7e2961b 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1074,15 +1074,6 @@ LLVMRustDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type, LineNo, unwrapDIPtr<DIScope>(Scope))); } -extern "C" LLVMMetadataRef LLVMRustDIBuilderCreatePointerType( - LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, uint64_t SizeInBits, - uint32_t AlignInBits, unsigned AddressSpace, const char *Name, - size_t NameLen) { - return wrap(unwrap(Builder)->createPointerType( - unwrapDI<DIType>(PointeeTy), SizeInBits, AlignInBits, AddressSpace, - StringRef(Name, NameLen))); -} - extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateStructType( LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, |
