mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
[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:
parent
0b24479638
commit
984898da17
@ -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
|
||||
));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user