about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2025-01-05 05:32:57 +0000
committerGitHub <noreply@github.com>2025-01-05 05:32:57 +0000
commit16a26f9b4658c3481d231241a6c6130edc9a6de7 (patch)
tree9c5b7a7602945da7ed9a3eb5d07d95869424c516 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentac429bc590536c2b270df041cf9e958759caa4eb (diff)
parent74a13d185a583e9a77a7c418c151590e88157908 (diff)
downloadrust-16a26f9b4658c3481d231241a6c6130edc9a6de7.tar.gz
rust-16a26f9b4658c3481d231241a6c6130edc9a6de7.zip
Merge pull request #4123 from rust-lang/rustup-2025-01-05
Automatic Rustup
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index 87b1c944aa8..ca62483b0aa 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -1218,6 +1218,13 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateStaticMemberType(
 }
 
 extern "C" LLVMMetadataRef
+LLVMRustDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, unsigned Tag,
+                                     LLVMMetadataRef Type) {
+  return wrap(
+      unwrap(Builder)->createQualifiedType(Tag, unwrapDI<DIType>(Type)));
+}
+
+extern "C" LLVMMetadataRef
 LLVMRustDIBuilderCreateLexicalBlock(LLVMRustDIBuilderRef Builder,
                                     LLVMMetadataRef Scope, LLVMMetadataRef File,
                                     unsigned Line, unsigned Col) {