force enum DISCR_*
to const u64
to allow for inspection via LLDB's SBTypeStaticField::GetConstantValue()
This commit is contained in:
parent
bc4266ca96
commit
a1191e30b6
3 changed files with 40 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue