This commit is contained in:
Arthur Eubanks 2023-11-15 13:15:55 -08:00
parent 984898da17
commit e2c3e94be9

View File

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