Re: [Dwarf-discuss] Ranges for DW_TAG_namespace

2023-09-20 Thread David Blaikie via Dwarf-discuss
e 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 > Subject: Re: [Dwarf-discuss] Ranges for

Re: [Dwarf-discuss] Ranges for DW_TAG_namespace

2023-09-14 Thread rifkin.jer--- via Dwarf-discuss
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 Subject: Re: [Dwarf-discuss] Ranges for DW_TAG_namespace When searching for addresses we first see if the compile unit's

Re: [Dwarf-discuss] Ranges for DW_TAG_namespace

2023-09-14 Thread Greg Clayton via Dwarf-discuss
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

Re: [Dwarf-discuss] Ranges for DW_TAG_namespace

2023-09-14 Thread Robinson, Paul via Dwarf-discuss
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, Jeremy -- Dwarf-discuss

[Dwarf-discuss] Ranges for DW_TAG_namespace

2023-09-14 Thread rifkin.jer--- via Dwarf-discuss
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