Displaying 6 results from an estimated 6 matches for "grappa_wide_get_pointer".
2013 Dec 04
2
[LLVMdev] DwarfDebug problems
...; << node << " ) node => " << *node << "\n";
}
Strangely, the node my code finds *prints* the same, but the pointer is different:
> scopeNode(0x7fe53dc6c2c0) => !{i32 786478, metadata <badref>, metadata <badref>, metadata !"grappa_wide_get_pointer", metadata !"grappa_wide_get_pointer", metadata !"", i32 53, metadata <badref>, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8* (i8*)* @grappa_wide_get_pointer, null, null, metadata <badref>, i32 53} ; [ DW_TAG_subprogram ] [line 53] [def] [grappa_w...
2013 Dec 04
2
[LLVMdev] DwarfDebug problems
...< *node << "\n";
>> }
>>
>> Strangely, the node my code finds *prints* the same, but the pointer is
>> different:
>>
>> scopeNode(0x7fe53dc6c2c0) => !{i32 786478, metadata <badref>, metadata
>> <badref>, metadata !"grappa_wide_get_pointer", metadata
>> !"grappa_wide_get_pointer", metadata !"", i32 53, metadata <badref>, i1
>> false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8* (i8*)*
>> @grappa_wide_get_pointer, null, null, metadata <badref>, i32 53} ; [
>> DW_TAG_su...
2013 Dec 04
0
[LLVMdev] DwarfDebug problems
...ot; ) node => " << *node << "\n";
> }
>
> Strangely, the node my code finds *prints* the same, but the pointer is
> different:
>
> scopeNode(0x7fe53dc6c2c0) => !{i32 786478, metadata <badref>, metadata
> <badref>, metadata !"grappa_wide_get_pointer", metadata
> !"grappa_wide_get_pointer", metadata !"", i32 53, metadata <badref>, i1
> false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8* (i8*)*
> @grappa_wide_get_pointer, null, null, metadata <badref>, i32 53} ; [
> DW_TAG_subprogram ] [line...
2013 Dec 04
0
[LLVMdev] DwarfDebug problems
...";
>>> }
>>>
>>> Strangely, the node my code finds *prints* the same, but the pointer is
>>> different:
>>>
>>> scopeNode(0x7fe53dc6c2c0) => !{i32 786478, metadata <badref>, metadata
>>> <badref>, metadata !"grappa_wide_get_pointer", metadata
>>> !"grappa_wide_get_pointer", metadata !"", i32 53, metadata <badref>, i1
>>> false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8* (i8*)*
>>> @grappa_wide_get_pointer, null, null, metadata <badref>, i32 53} ; [
>&g...
2013 Dec 04
2
[LLVMdev] DwarfDebug problems
...(note the line number of the assertion is probably different because I’ve added some prints to help me debug this)
When I print the MDNode returned by “FnScope->getScopeNode()”, I get lots of <badref>’s:
> !{i32 786478, metadata <badref>, metadata <badref>, metadata !"grappa_wide_get_pointer", metadata !"grappa_wide_get_pointer", metadata !"", i32 53, metadata <badref>, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8* (i8*)* @grappa_wide_get_pointer, null, null, metadata <badref>, i32 53} ; [ DW_TAG_subprogram ] [line 53] [def] [grappa_w...
2013 Dec 04
0
[LLVMdev] DwarfDebug problems
...es look like /something/ is up.
It appears as if the function being emitted is somehow not visited
when emitting functions in the list of functions on the compilation
units. Somehow it got separated, perhaps.
>> !{i32 786478, metadata <badref>, metadata <badref>, metadata !"grappa_wide_get_pointer", metadata !"grappa_wide_get_pointer", metadata !"", i32 53, metadata <badref>, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8* (i8*)* @grappa_wide_get_pointer, null, null, metadata <badref>, i32 53} ; [ DW_TAG_subprogram ] [line 53] [def] [grappa_w...