[llvm-wrapper] Pass newly added param to DIBuilder::createStaticMemberType()

This was added in https://github.com/llvm/llvm-project/pull/72234.
DW_TAG_member was the implicit default before.
This commit is contained in:
Arthur Eubanks 2023-11-15 11:29:35 -08:00
parent 0b24479638
commit 984898da17

View File

@ -983,6 +983,9 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateStaticMemberType(
unwrapDI<DIType>(Ty),
fromRust(Flags),
unwrap<llvm::ConstantInt>(val),
#if LLVM_VERSION_GE(17, 0)
llvm::dwarf::DW_TAG_member,
#endif
AlignInBits
));
}