I suppose it didn't seem useful to provide ranges on namespaces. A C++ 
namespace isn't a program entity of its own, it's a way of managing names of 
entities. It doesn't even restrict the scope of those names; you can refer to 
them anywhere if you use the fully qualified version of the name. (With the 
obvious caveat about names defined in anonymous namespaces.)

Did you have a reason for considering a namespace to be a program entity? What 
would that entity do?
--paulr

From: Dwarf-discuss 
<dwarf-discuss-bounces+paul.robinson=sony....@lists.dwarfstd.org> On Behalf Of 
rifkin.jer--- via Dwarf-discuss
Sent: Thursday, September 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,
Jeremy
-- 
Dwarf-discuss mailing list
Dwarf-discuss@lists.dwarfstd.org
https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss

Reply via email to