This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python] Anonymous namespaces prevent some Python pretty-printing


Paul> It strikes me that the whole split and rejoin mechanism that
Paul> typy_template_argument uses is very fragile.

Paul> Not sure what can be done about it though :(

Yeah, ideally we would not be parsing and doing name lookups -- we
would just be able to refer to template argument types directly.

I think this has to start upstream.  GCC does not emit
DW_TAG_template_type_parameter, which I think we would need to make
this work properly.

After that we would have to modify the gdb dwarf reader to deal with
this nicely.  Then, we can change Type.template_argument to do the
right thing.

I filed a GCC bug for this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38058
Dodji, would you mind putting this on your list of bugs to fix?

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]