Hello,
What is the reasoning for not including range information on
DW_TAG_namespace DIEs? Is there a canonical way to check if a
DW_TAG_namespace DIE contains a given address?
Thank you,
Jeremy
--
Dwarf-discuss mailing list
Dwarf-discuss@lists.dwarfstd.org
https://lists.dwarfstd.org/mailma
14, 2023 6:51 PM
To: dwarf-discuss@lists.dwarfstd.org
Subject: [Dwarf-discuss] Ranges for DW_TAG_namespace
Hello,
What is the reasoning for not including range information on DW_TAG_namespace
DIEs? Is there a canonical way to check if a DW_TAG_namespace DIE contains a
given address?
Thank you,
Jere
When searching for addresses we first see if the compile unit's DW_AT_ranges
(or low/high pc) attribute contains the address we are looking for. Any CU that
doesn't contain the address doesn't need to have its child DIEs parsed, just
the top level DW_TAG_compile_unit DIE. Then we iterate over al
perhaps not
entirely clear though.
Thank you again,
Jeremy
From: Greg Clayton
Sent: Thursday, September 14, 2023 9:22 PM
To: rifkin@gmail.com
Cc: DWARF Discuss
Subject: Re: [Dwarf-discuss] Ranges for DW_TAG_namespace
When searching for addresses we first see if the compile unit
ncoding of this information. The space vs time tradeoff is perhaps not
> entirely clear though.
>
>
>
> Thank you again,
>
> Jeremy
>
>
>
> From: Greg Clayton
> Sent: Thursday, September 14, 2023 9:22 PM
> To: rifkin@gmail.com
> Cc: DWARF Discuss