mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
llvm-wrapper: Pass newly added param to DIBuilder::createEnumerationType()
Added in LLVM in https://github.com/llvm/llvm-project/pull/72011.
This commit is contained in:
parent
0b24479638
commit
7cde2cee35
@ -1105,7 +1105,11 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateEnumerationType(
|
|||||||
unwrapDI<DIDescriptor>(Scope), StringRef(Name, NameLen),
|
unwrapDI<DIDescriptor>(Scope), StringRef(Name, NameLen),
|
||||||
unwrapDI<DIFile>(File), LineNumber,
|
unwrapDI<DIFile>(File), LineNumber,
|
||||||
SizeInBits, AlignInBits, DINodeArray(unwrapDI<MDTuple>(Elements)),
|
SizeInBits, AlignInBits, DINodeArray(unwrapDI<MDTuple>(Elements)),
|
||||||
unwrapDI<DIType>(ClassTy), "", IsScoped));
|
unwrapDI<DIType>(ClassTy),
|
||||||
|
#if LLVM_VERSION_GE(18, 0)
|
||||||
|
/* RunTimeLang */ 0,
|
||||||
|
#endif
|
||||||
|
"", IsScoped));
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateUnionType(
|
extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateUnionType(
|
||||||
|
Loading…
Reference in New Issue
Block a user