Displaying 5 results from an estimated 5 matches for "_z2f2v".
2016 Dec 15
1
distinct DISubprograms hindering sharing inlined subprogram descriptions
On Thu, Dec 15, 2016 at 11:35 AM Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> > On Dec 15, 2016, at 10:54 AM, David Blaikie via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > Branching off from a discussion of improvements to DIGlobalVariable
> representations that Adrian's working on - got me thinking about related
> changes that have
2017 May 03
3
DWARF Fission + ThinLTO
...AG_compile_unit [1] *
0x19: DW_TAG_subprogram [2]
0x25: DW_TAG_subprogram [3]
0x31: DW_TAG_subprogram [4]
0x43: DW_TAG_compile_unit [1] *
0x51: DW_TAG_subprogram [5] *
0x5d: DW_TAG_inlined_subroutine [6]
DW_AT_abstract_origin [DW_FORM_ref_addr] (0x31 "_Z2f2v")
The ref_addr can be resolved relative to this whole .dwo file & the
abstract subprogram is found. Yay.
So GDB can't currently handle this:
Could not find DWO CU ab.dwo(0x32dd6d7121dd1d9a) referenced by CU at
offset 0x66 [in module a.out]
And that's after some local fixes I...
2017 May 04
2
DWARF Fission + ThinLTO
...t; 0x25: DW_TAG_subprogram [3]
>> 0x31: DW_TAG_subprogram [4]
>> 0x43: DW_TAG_compile_unit [1] *
>> 0x51: DW_TAG_subprogram [5] *
>> 0x5d: DW_TAG_inlined_subroutine [6]
>> DW_AT_abstract_origin [DW_FORM_ref_addr] (0x31 "_Z2f2v")
>>
>> The ref_addr can be resolved relative to this whole .dwo file & the abstract subprogram is found. Yay.
>>
>> So GDB can't currently handle this:
>>
>> Could not find DWO CU ab.dwo(0x32dd6d7121dd1d9a) referenced by CU at offset 0x66 [in m...
2017 May 04
3
DWARF Fission + ThinLTO
...AG_compile_unit [1] *
0x19: DW_TAG_subprogram [2]
0x25: DW_TAG_subprogram [3]
0x31: DW_TAG_subprogram [4]
0x43: DW_TAG_compile_unit [1] *
0x51: DW_TAG_subprogram [5] *
0x5d: DW_TAG_inlined_subroutine [6]
DW_AT_abstract_origin [DW_FORM_ref_addr] (0x31 "_Z2f2v")
The ref_addr can be resolved relative to this whole .dwo file & the abstract subprogram is found. Yay.
So GDB can't currently handle this:
Could not find DWO CU ab.dwo(0x32dd6d7121dd1d9a) referenced by CU at offset 0x66 [in module a.out]
And that's after some local fixes I...
2017 May 03
4
DWARF Fission + ThinLTO
So Dehao and I have been dealing with some of the nitty gritty details of
debug info with ThinLTO, specifically with Fission(Split DWARF).
This applies to LTO as well, so I won't single out ThinLTO here.
1) Multiple CUs in a .dwo file
Clang/LLVM produces a CU for each original source file - these CUs are kept
through IR linking (thin or full) and produced as distinct CUs in the
resulting