Displaying 5 results from an estimated 5 matches for "ditypearray".
2014 Jul 21
4
[LLVMdev] LTO type uniquing: ODR assertion failure
...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 currently have
>> >> >> unspecified parameter in the type array and it is not a DIType.
>> >> >
>> >> >
&...
2014 Jul 21
2
[LLVMdev] LTO type uniquing: ODR assertion failure
...>> >> 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 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 e...
2014 Jul 21
2
[LLVMdev] LTO type uniquing: ODR assertion failure
...t
>> 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 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...
2014 Jul 14
3
[LLVMdev] LTO type uniquing: ODR assertion failure
...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 currently have
unspecified parameter in the type array and it is not a DIType.
What are your thoughts? Suggestions are welcome.
Is it a good idea to canonicalize file names (i.e dA/B.h should be
equivalent to dA/../dA/B.h)? This wil...
2015 Feb 19
4
[LLVMdev] Parameter names in IR and debug info
Have I correctly inferred below, how I build IR and debug info for
a function type and a function (value), in particular, how to supply
the names of the formal parameters?
To create a function in llvm IR and give names to its formal parameters,
I must:
1. Build a LLVMTypeRef for the type of each formal and the function result.
2. Build a function type using LLVMFunctionType, from the results of