Displaying 1 result from an estimated 1 matches for "dw_at_extension".
2013 Mar 20
0
[LLVMdev] Debug info for namespaces and "using"
...ou have something like this:
namespace MYSPACE {
typedef int MYINT;
};
// ... other stuff
namespace MYSPACE {
typedef long MYLONG;
};
then Clang will emit two separate DW_TAG_namespace DIEs, one with a
child MYINT and one with a child MYLONG. However, these namespace DIEs
are not connected by DW_AT_extension, so a "using namespace MYSPACE;"
that emits a single DW_TAG_imported_module isn't going to catch both
namespace DIEs.
I looked at gcc, and an EDG-based compiler; they collect all the
declarations for a given namespace and put them out under a single
DW_TAG_namespace DIE, regardless o...