Displaying 20 results from an estimated 37 matches for "786478".
2013 Dec 04
2
[LLVMdev] DwarfDebug problems
...break;
}
}
}
errs() << " (" << 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, nul...
2013 Dec 04
2
[LLVMdev] DwarfDebug problems
...s() << " (" << 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*)*
&g...
2012 Aug 17
1
[LLVMdev] Debug information causing assertion
We have a test case where we are hitting an assertion in the X86 code generator. The assertion is: "Assertion failed: TheCU && "Unable to find compile unit!", file .\..\..\..\lib\CodeGen\AsmPrinter\DwarfDebug.cpp, line 1411"
The bitcode is attached.
What I am trying to figure out is what is malformed about our debug that is causing this error? This is reproducible
2013 Dec 04
0
[LLVMdev] DwarfDebug problems
...> }
> errs() << " (" << 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_w...
2013 Dec 04
0
[LLVMdev] DwarfDebug problems
...uot; << 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, i...
2013 Dec 04
2
[LLVMdev] DwarfDebug problems
...ain + 7283
> 23 libdyld.dylib 0x00007fff8e68d5fd start + 1
(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, nul...
2013 Dec 04
0
[LLVMdev] DwarfDebug problems
...references, in my experience.
That being said, given your assertion it does 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, nul...
2013 Nov 26
1
[LLVMdev] Finding the first line number of a function (-g vs -gline-tables-only)
...te:
> I need '3' to be my base for all the relative offsets I get from the
> profiler. So, how do I find out the line number of the symbol 'foo'
> itself?
>
Hi Diego,
In the metadata. Look for DW_TAG_subprogram:
define i32 @main() #0 {
...
}
...
!4 = metadata !{i32 786478, metadata !1, metadata !5, metadata !"main",
metadata !"main", metadata !"", i32 6, metadata !6, i1 false, i1 true, i32
0, i32 0, null, i32 256, i1 false, i32 ()* @main, null, null, metadata !2,
i32 6} ; [ DW_TAG_subprogram ] [line 6] [def] [main]
cheers,
--renato
---...
2013 Jun 20
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...et 0] [from ]
> !14 = metadata !{metadata !15, metadata !16}
> !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int]
> !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
>
> Cycles: !12 -- !14 -...
2013 Jun 20
9
[LLVMdev] Proposal: type uniquing of debug info for LTO
...align 32, offset 0] [from ]
!14 = metadata !{metadata !15, metadata !16}
!15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int]
!16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
Cycles: !12 -- !14 -- !15 --...
2013 Jun 20
2
[LLVMdev] Proposal: type uniquing of debug info for LTO
...]
>> !14 = metadata !{metadata !15, metadata !16}
>> !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int]
>> !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
>>
>> Cycles: !12...
2013 Jun 21
2
[LLVMdev] Proposal: type uniquing of debug info for LTO
...[from ]
> !6 = metadata !{metadata !7, metadata !9}
> !7 = metadata !{i32 786445, metadata !5, i32 915398439, metadata !"a", i32
> 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line
> 2, size 32, align 32, offset 0] [from int]
> !9 = metadata !{i32 786478, metadata !5, i32 915398439, metadata !"Base",
> metadata !"Base", metadata !"", i32 1, metadata !10, i1 false, i1 false,
> i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !13, i32
> 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
> 9153984...
2013 Jun 21
5
[LLVMdev] Proposal: type uniquing of debug info for LTO
...m ]
> !14 = metadata !{metadata !15, metadata !16}
> !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32
> 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line
> 2, size 32, align 32, offset 0] [from int]
> !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base",
> metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32
> 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ;
> [ DW_TAG_subprogram ] [line 1] [Base]
>
> Cycle...
2013 Jun 20
2
[LLVMdev] Proposal: type uniquing of debug info for LTO
...m ]
> !14 = metadata !{metadata !15, metadata !16}
> !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32
> 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line
> 2, size 32, align 32, offset 0] [from int]
> !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base",
> metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32
> 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ;
> [ DW_TAG_subprogram ] [line 1] [Base]
>
> Cycle...
2013 Jun 21
3
[LLVMdev] Proposal: type uniquing of debug info for LTO
...;> !6 = metadata !{metadata !7, metadata !9}
> >> !7 = metadata !{i32 786445, metadata !5, i32 915398439, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int]
> >> !9 = metadata !{i32 786478, metadata !5, i32 915398439, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !10, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !13, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
> >> 915398439 in...
2013 Jun 21
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...e 32, align 32, offset 0] [from ]
!6 = metadata !{metadata !7, metadata !9}
!7 = metadata !{i32 786445, metadata !5, i32 915398439, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int]
!9 = metadata !{i32 786478, metadata !5, i32 915398439, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !10, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !13, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
915398439 in !4 is the defi...
2013 Jun 21
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...from ]
>> !6 = metadata !{metadata !7, metadata !9}
>> !7 = metadata !{i32 786445, metadata !5, i32 915398439, metadata !"a",
i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a]
[line 2, size 32, align 32, offset 0] [from int]
>> !9 = metadata !{i32 786478, metadata !5, i32 915398439, metadata
!"Base", metadata !"Base", metadata !"", i32 1, metadata !10, i1 false, i1
false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata
!13, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
>> 915398439 in !4 is...
2013 Jun 20
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...t; !14 = metadata !{metadata !15, metadata !16}
>>> !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int]
>>> !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
>>>
>>> Cyc...
2013 Jun 20
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...et 0] [from ]
> !14 = metadata !{metadata !15, metadata !16}
> !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int]
> !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ; [ DW_TAG_subprogram ] [line 1] [Base]
>
> Cycles: !12 -- !14 -...
2013 Jun 21
2
[LLVMdev] Proposal: type uniquing of debug info for LTO
...ta !15, metadata !16}
>>> !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32
>>> 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line
>>> 2, size 32, align 32, offset 0] [from int]
>>> !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base",
>>> metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32
>>> 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !20, i32 1} ;
>>> [ DW_TAG_subprogram ] [line 1...