diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-01 13:43:30 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-01 14:14:39 +1100 |
| commit | 878ab125a107d8f8036cc41a2db6abcb68996226 (patch) | |
| tree | 9ff103634bee9fb364df646e0f8a794695cdb30a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | cd2af2dd9a82b564fd74f7d2b7876c120812f6ba (diff) | |
| download | rust-878ab125a107d8f8036cc41a2db6abcb68996226.tar.gz rust-878ab125a107d8f8036cc41a2db6abcb68996226.zip | |
Use `LLVMDIBuilderCreateNameSpace`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 6c5bfc1ac78..2b561dc3534 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1321,14 +1321,6 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateTemplateTypeParameter( unwrapDI<DIType>(Ty), IsDefault)); } -extern "C" LLVMMetadataRef -LLVMRustDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, - LLVMMetadataRef Scope, const char *Name, - size_t NameLen, bool ExportSymbols) { - return wrap(unwrap(Builder)->createNameSpace( - unwrapDI<DIDescriptor>(Scope), StringRef(Name, NameLen), ExportSymbols)); -} - extern "C" void LLVMRustDICompositeTypeReplaceArrays( LLVMDIBuilderRef Builder, LLVMMetadataRef CompositeTy, LLVMMetadataRef Elements, LLVMMetadataRef Params) { |
