On 2016-10-12 19:10, Greg Clayton wrote:
We would also need to add a way to get the class type from the member function:
lldb::SBType lldb::SBTypeMemberFunction::GetContainingType();
This would return the class/struct that owns the member function.
So if we just add:
lldb::SBTypeMember
> On Oct 7, 2016, at 7:32 AM, Carlo Kok via lldb-dev
> wrote:
>
>
>>> How do I get the dw_at_name field? I don't need lldb to decypher the
>>> mangling I use, I just want access to the linkage name and real encoded
>>> name?
>>>
>>> Also how do I get the type this is contained in (presuming t
How do I get the dw_at_name field? I don't need lldb to decypher the
mangling I use, I just want access to the linkage name and real encoded
name?
Also how do I get the type this is contained in (presuming there is one
ofc)?
I am not sure what you are trying to do. Can you elaborate a little.
> -Original Message-
> From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Carlo
> Kok via lldb-dev
> Sent: 07 October 2016 14:29
> To: lldb-dev@lists.llvm.org
> Subject: [lldb-dev] get function name from dwarf info
>
> Hi,
>
> I have a
Hi,
I have a piece of debuginfo containing this subfunction :
DW_TAG_subprogram [6] *
DW_AT_low_pc [DW_FORM_addr] (0x00437020)
DW_AT_high_pc [DW_FORM_data4] (0x001e)
DW_AT_frame_base [DW_FORM_exprloc](<0x1> 55 )
DW_AT_linkage_name [DW_FORM_strp] ( .debug_str[0x0