Displaying 4 results from an estimated 4 matches for "getorcreatesubrang".
Did you mean:
getorcreatesubrange
2011 Feb 19
3
[LLVMdev] DIFactory
On Fri, Feb 18, 2011 at 1:52 PM, Renato Golin <rengolin at systemcall.org>wrote:
> On 18 February 2011 21:34, Talin <viridia at gmail.com> wrote:
> > Sorry, I meant DIBuilder.
>
> DIBuilder is the new DIFactory. I've been playing with it this week
> and it's much easier and straightforward to use. I'm still having
> problems to create arrays, though.
2014 Jul 21
4
[LLVMdev] LTO type uniquing: ODR assertion failure
...gt;> > getTypeArray() of ArrayType and VectorType can not return an array of
>> > DITypeRefs.
>>
>> Why can't they?
>
>
> For ArrayType, we create it like this:
> SmallVector<llvm::Value *, 8> Subscripts;
> ...
> Subscripts.push_back(DBuilder.getOrCreateSubrange(0, Count));
> ...
> llvm::DIArray SubscriptArray = DBuilder.getOrCreateArray(Subscripts);
>
> The elements of getTypeArray() are DISubranges, even though the function is
> called getTypeArray :)
Yeah, that seems pretty bogus. They could use a separate type with its
own array hand...
2011 Apr 07
1
[LLVMdev] More DWARF problems
On Apr 7, 2011, at 12:14 PM, Talin wrote:
>
> OK I've been checking this out some more, and the DIEs don't look valid to me. Take a look at this output from dwarfdump -v:
>
> 0x000000c7: TAG_subprogram [3]
> 0x000000c8: AT_name( .debug_str[0x000001bd] = "construct" )
> 0x000000cc: AT_MIPS_linkage_name( .debug_str[0x000001c7] =
2014 Jul 21
2
[LLVMdev] LTO type uniquing: ODR assertion failure
On Mon, Jul 21, 2014 at 3:35 PM, Manman Ren <manman.ren at gmail.com> wrote:
>
>
>
> On Mon, Jul 21, 2014 at 1:14 PM, David Blaikie <dblaikie at gmail.com> wrote:
>>
>> On Mon, Jul 21, 2014 at 10:39 AM, Manman Ren <manman.ren at gmail.com> wrote:
>> >
>> >
>> >
>> > On Mon, Jul 14, 2014 at 11:32 AM, Manman Ren