This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory


Thanks for doing this!  But unfortunately...

On Tue, Feb 20, 2007 at 03:24:20PM +0100, Michael Matz wrote:
> -       .string "_Ios_Openmode"
> +       .string "std::_Ios_Openmode"
> -       .string "new_allocator<char>"
> +       .string "__gnu_cxx::new_allocator<char>"

These are more incorrect than the current names.  They're inside a
DW_TAG_namespace scope, so GDB goes to a lot of trouble to prepend the
namespace to the specified name.  It'll get std::std::_Ios_Openmode
and I think that's the right interpretation of this debug info.

Is there some way we can lose the initial scope?

> -       .string "._16"
> +       .string "<anonymous struct>::<anonymous union>"

(dunno about this one, maybe it shouldn't have a DW_AT_name at all?)

-- 
Daniel Jacobowitz
CodeSourcery


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