Displaying 4 results from an estimated 4 matches for "ditrivialtype".
2014 Jul 14
3
[LLVMdev] LTO type uniquing: ODR assertion failure
We still have access to types via MDNodes directly and the assertion that
assumes all accesses to DITypes are accessing the resolved DIType will fire
i.e assert(Ty == resolve(Ty.getRef()))
One example is the access to DIType via DIArray in SubroutineType. If all
elements in the type array are DITypes we can create a DITypeArray and use
that for SubroutineType's type array instead. But we
2014 Jul 21
2
[LLVMdev] LTO type uniquing: ODR assertion failure
...neType's type array instead. But we currently have
>> unspecified parameter in the type array and it is not a DIType.
>
>
> I am going to work on a patch that adds DITypeArray (each element will be
> DITypeRef, SubroutineType's type array will be DITypeArray) and adds
> DITrivialType that extends from DIType (unspecified parameter will be
> DITrivialType).
> If you have opinions against it, please let me know,
We haven't bothered using typed arrays in DebugInfo yet (as you say,
we just have DIArray) so I have two thoughts
1) why does this one case need fixing/chang...
2014 Jul 21
2
[LLVMdev] LTO type uniquing: ODR assertion failure
...> unspecified parameter in the type array and it is not a DIType.
>> >
>> >
>> > I am going to work on a patch that adds DITypeArray (each element will
>> > be
>> > DITypeRef, SubroutineType's type array will be DITypeArray) and adds
>> > DITrivialType that extends from DIType (unspecified parameter will be
>> > DITrivialType).
>> > If you have opinions against it, please let me know,
>>
>> We haven't bothered using typed arrays in DebugInfo yet (as you say,
>> we just have DIArray) so I have two thoughts...
2014 Jul 21
4
[LLVMdev] LTO type uniquing: ODR assertion failure
...>> >
>> >> >
>> >> > I am going to work on a patch that adds DITypeArray (each element
>> >> > will
>> >> > be
>> >> > DITypeRef, SubroutineType's type array will be DITypeArray) and adds
>> >> > DITrivialType that extends from DIType (unspecified parameter will be
>> >> > DITrivialType).
>> >> > If you have opinions against it, please let me know,
>> >>
>> >> We haven't bothered using typed arrays in DebugInfo yet (as you say,
>> >>...