1
Fork 0

force enum DISCR_* to const u64 to allow for inspection via LLDB's SBTypeStaticField::GetConstantValue()

This commit is contained in:
Walnut 2024-12-06 10:50:44 -06:00
parent bc4266ca96
commit a1191e30b6
3 changed files with 40 additions and 20 deletions

View file

@ -1142,9 +1142,9 @@ extern "C" LLVMMetadataRef LLVMRustDIBuilderCreateStaticMemberType(
extern "C" LLVMMetadataRef
LLVMRustDIBuilderCreateQualifiedType(LLVMDIBuilderRef Builder, unsigned Tag,
LLVMMetadataRef Type) {
return wrap(unwrap(Builder)->createQualifiedType(Tag,
unwrapDI<DIType>(Type)));
LLVMMetadataRef Type) {
return wrap(
unwrap(Builder)->createQualifiedType(Tag, unwrapDI<DIType>(Type)));
}
extern "C" LLVMMetadataRef