diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-01 13:55:44 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-01 14:14:40 +1100 |
| commit | 949b4673ceebd767cc0b138392b420a050dc6ce0 (patch) | |
| tree | b30ac7950d26be7f169dba896ff6eb5050488683 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 70d41bc7110ed05c8befb65403b028e1fbaf2c5a (diff) | |
| download | rust-949b4673ceebd767cc0b138392b420a050dc6ce0.tar.gz rust-949b4673ceebd767cc0b138392b420a050dc6ce0.zip | |
Use `LLVMDIBuilderCreateLexicalBlockFile`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 6 |
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 0c3fc6c4671..6805ecfed03 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1179,12 +1179,6 @@ LLVMRustDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, unsigned Tag, unwrap(Builder)->createQualifiedType(Tag, unwrapDI<DIType>(Type))); } -extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateLexicalBlockFile( - LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File) { - return wrap(unwrap(Builder)->createLexicalBlockFile( - unwrapDI<DIDescriptor>(Scope), unwrapDI<DIFile>(File))); -} - extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateStaticVariable( LLVMDIBuilderRef Builder, LLVMMetadataRef Context, const char *Name, size_t NameLen, const char *LinkageName, size_t LinkageNameLen, |
